-
Notifications
You must be signed in to change notification settings - Fork 191
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
INFO:waybackpack.session: HTTP status code: 302 #42
Comments
Hello. Try using the |
Hi, I might add a disclaimer that I am not an experienced programmer etc, but I do my best to learn. I am running Python 3.9 and trying to setup but experiencing the follow issue: [email protected]/bin/python3.9: can't find 'main' module in '/Users XXXXXXXXX Any ideas? |
I had a similar issue. Adding --follow-directs option solves this issue. |
@BEaXt7f97 Can you provide steps to reproduce this error? Did you make any changes to the source code? |
This works:
But this (note the lack of slash after the domain name) causes spurious redirects:
From the browser's perspective these two URLs are equivalent, so they should both work the same way in waybackpack too. |
Thanks for flagging, @jwilk — very interesting. It seems that from the perspective of the Wayback Machine, these are different resources. A bit frustrating that they don't do any internal resolution. But I'd be wary of blindly choosing one URL over the other. I'd be interested for your perspective on ways to handle this, as well as the perspectives of anyone else with deep experience/familiarity with the Wayback Machine's logic. |
INFO:waybackpack.pack: Fetching acasaredonda.com.br @ 20200812061150
INFO:waybackpack.session: HTTP status code: 302
INFO:waybackpack.pack: Writing to /home/vz/acr_wbm_snapshot/20200812061150/acasaredonda.com.br/index.html
Only recreates 0-bytes index.html files in directories for each snapshot and returns the 302 HTTP STATUS CODE.
The text was updated successfully, but these errors were encountered: