saving 93-byte files instead of photos #2

Open
opened 2024-12-01 18:53:45 -05:00 by Vuca · 0 comments

It seems that in times of rate-limiting, Flickr doesn't let your userscript download images. Instead, it serves a 93-byte ".jpg" file that contains the following text:

<html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>

Sample file is attached.

Suggested fix: make it check whether the file is <200bytes and if so, it waits, then tries to download it again?

The rate-limiting differs from day to day. When I first noticed this happening, about 90% of images saved as the 93-byte file. But today, it was more like 10%.

It seems that in times of rate-limiting, Flickr doesn't let your userscript download images. Instead, it serves a 93-byte ".jpg" file that contains the following text: ``` <html><body><h1>403 Forbidden</h1> Request forbidden by administrative rules. </body></html> ``` Sample file is attached. Suggested fix: make it check whether the file is <200bytes and if so, it waits, then tries to download it again? The rate-limiting differs from day to day. When I first noticed this happening, about 90% of images saved as the 93-byte file. But today, it was more like 10%.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Mjokfox/flickr_easy_dl#2
No description provided.