-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[4chanarchives] 403 Forbidden Bug #4686
Comments
Ugh.. the images are hosted on Imgur, I guess this is why this fails. Although it does not make sense to me, at the moment, because some links are working here in the browser (at least sometimes?) This gives me also a HTTP 403 in the browser (incognito mode)
This one works..
😄 Doesn't really make any sense, not sure what triggers those 403s, I can't reproduce at the moment.. |
This happens because of the Imgur doesn't like its files referred to from a non-imgur site, it seems. |
The images that are still available on imgur still fail tho. This board is mostly SFW stuff and therefore a lot these are still available.
Yep I am having the exact same problem. It seems that if you click the link you get a 403 but if you click the actual image it will work. |
Ahhh okay that explains everything, thank you for this. Does this also mean we need disable the referrer option on reddit too since that is a non-imgur site? |
I guess it wouldn't hurt, but reddit handles imgur links indirectly (it spawns an ImgurExtractor that does the "right" thing and uses its own headers and options), while 4chanarchives downloads from these links directly. |
Ahhh well that makes perfect sense. I guess i'll test with both to see if it changes anything. BTW is |
Ah yeah, I see it now... <a target="_blank" href="https://i.imgur.com/8dfUO96.jpg">TaylorSwift-2008MTV-VMA-Arrivals_Vettri.Net-38.jpg</a>
<a target="_blank" href="https://i.imgur.com/8dfUO96.jpg" class="fileThumb" rel="noreferrer">
</a> (I removed the content inside of the second anchor tag)
That is why.
|
Use Shows the age of this extractor, I think.. |
Support for this site was added this year :) (1406f71) |
Should have taken a look before posting :D |
This seems to work. Thank you both once again very much for all your help :) |
gallery-dl was working perfectly to download from 4chanarchives ever since the support for it was added back in #4012 but unfortunately when trying to download from a board now you just get 403 forbidden errors. Here is an example board to test with along with my verbose log.
https://4chanarchives.com/board/hr/thread/2693240
https://gist.github.com/cheese529/abd49f5abb737bb16f3181cd37a6838c
The text was updated successfully, but these errors were encountered: