fake-name / xA-Scraper

69 stars 8 forks source link

Incomplete patreon downloads #61

Closed reketeee closed 4 years ago

reketeee commented 4 years ago

Hi,

I've noticed that some posts are incomplete, only the first image is downloaded. Like this one: https://imgur.com/EMKFwUY

But in others, all images are downloaded correctly. Like this one: https://imgur.com/Fui1E7d

The only difference i see is that in one of them, images appears as attachments.

Could you check it?

Thanks :)

God-damnit-all commented 4 years ago

@fake-name adding /zip to the end of an imgur url is typically an easy way to get an entire album. However it won't have a good default filename and the images contained within are prefixed with their sequence order, which makes them get easily mixed up with other albums if you extract them all into the same directory.

The /zip method will also download single images just fine, they won't be in a zip file but their default filename will be slightly different.

reketeee commented 4 years ago

Hi,

I think i didn't explain correctly. Those imgur links are screenshots i did for trying to show the problem with certains patreon posts.

Imgur isn't the problem ;)

Sorry if i don't explain correctly, english isn't my main language.

fake-name commented 4 years ago

Hmmm, it seems patreon has a new way for attaching images.

fake-name commented 4 years ago

Ok, this seems to be resolved. I basically kind of made some semi-educated guesses about how patreon's API works internally, and it turns out they were either correct, or there's a patreon bug that made them seem correct.

Please let me know if you see other content that's not working. Aside from enjoying the content, I don't inspect the downloads for everyone I back that closely, so I missed this change. Thanks!