-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Potential download issue #114
Comments
This issue needs to be further isolated, you are showing us an example that involves downloading five different fanclubs.
Which specific post ID? Does it always occur on the same specific post? Is the error the same (either the same exception, or a similar download URL failing)? Are you backing the club as a paid or free member? |
@ytoaa Any additional info? |
It's hard to choose because the location of the post that gets an error every time I download it. |
I will submit the log details in more detail for now. Downloading post 63863... |
Do you have a slow connection? This is a rather large gallery so I'm wondering if perhaps it's 403ing because it's taking a long time to get through the post. Also, your post quotes |
I think that special character was copied by mistake. Also, seeing that there are errors in the same section every time, it seems like an error caused by too many posters |
It is downloaded as a single post, but the following error occurs when downloading as a statement like this error occurs. The cookie information is stolen.
It doesn't matter if you downloaded the problematic post individually.
python3 /home/timi/ext/a/me/TEMPDOWNLOAD/PROGRAM/PYTHON/fantia/fantiadl.py -o /home/timi/ext https://fantia.jp/fanclubs/33902 \
https://fantia.jp/fanclubs/28595 \
https://fantia.jp/fanclubs/2938 \
https://fantia.jp/fanclubs/6939 \
lf.download_post_content(post, post_directory, post_title) File "/home/timi/ext/a/me/TEMPDOWNLOAD/PROGRAM/PYTHON/fantia/models.py", line 425, in download_post_content self.download_photo(photo_url, photo_counter, gallery_directory) File "/home/timi/ext/a/me/TEMPDOWNLOAD/PROGRAM/PYTHON/fantia/models.py", line 409, in download_photo lf.perform_download(photo_url, filename, use_server_filename=self.use_server_filenames) File "/home/timi/ext/a/me/TEMPDOWNLOAD/PROGRAM/PYTHON/fantia/models.py", line 361, in perform_download quest.raise_for_status() File "/home/timi/fantia/lib/python3.10/site-packages/requests/models.py", line 1021, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://cc.fantia.jp/uploads/post_content_photo/file/214418/23cc3fff_mnksan02.jpg?Key-Pair-Id=APKAIOCKYZS7WKBB6G7A&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jYy5mYW50aWEuanAvdXBsb2Fkcy9wb3N0X2NvbnRlbnRfcGhvdG8vZmlsZS8yMTQ0MTgvMjNjYzNmZmZfbW5rc2FuMDIuanBnIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjgyNDU1ODI3fX19XX0_&Signature=DcopFyF0h2aAzv8LUF2Ot-uS6Eu6FTorucNpT1GaIihrcj2D98Y46QYGqiOdi7fBZ5iQVPtk4xs12oTOfQU9uztFAuCxmBiziCwqt2XdldCxQ9FFR32d91qCvxKijs7lAGa4SvqGeg27Jd7KnmjIBGzEWwaLBBCaGPWZdhdetXYbEHqL69JjbKNKIN3GObGjYDHcBPmfLNbkTiiyEnJBH7Y5coP1IpKEDO14WeWuoPGoscNzpwYEbveub8d5ERzTP7bk74Z1~dPqPRYTabi4k6E8HWPJwZC~gvWNjDD7iAMqHk2~von-509rjhPy6fFog9rDbZuAUywsJvfNu0azSA__
The text was updated successfully, but these errors were encountered: