'content-location' error
See original GitHub issueI’m getting an error quite often when using the CLI. Can see the live logs here: https://jlc.ninja/canarybot.txt
Traceback (most recent call last):
File "/usr/local/bin/savepagenow", line 11, in <module>
sys.exit(cli())
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/savepagenow/api.py", line 117, in cli
archive_url = capture(url, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/savepagenow/api.py", line 43, in capture
archive_id = response.headers['Content-Location']
File "/usr/local/lib/python2.7/dist-packages/requests-2.18.4-py2.7.egg/requests/structures.py", line 54, in __getitem__
return self._store[key.lower()][1]
KeyError: 'content-location'
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (8 by maintainers)
Top Results From Across the Web
Retry a Content Search to resolve a content location error
During an investigation, you can use the Retry button to resolve Content Searches that have content location errors.
Read more >Content-Location - HTTP - MDN Web Docs - Mozilla
Location indicates the URL of a redirect, while Content-Location indicates the direct URL to use to access the resource, without further content ......
Read more >'content-location' error · Issue #8 · palewire/savepagenow
I'm getting an error quite often when using the CLI. Can see the live logs here: https://jlc.ninja/canarybot.txt Traceback (most recent call ...
Read more >lettre::message::header::ContentLocation - Rust - Docs.rs
API documentation for the Rust `ContentLocation` struct in crate `lettre`. ... or the allocator reports a failure, then an error is returned.
Read more >How to fix: TypeError: Invalid character in header content ...
... fix: TypeError: Invalid character in header content ["Location"] ... When I use normal characters on username and write wrong password, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Cauchon, try https://github.com/eggplants/wbsv-cli
Okay. Version 0.0.11 is shipped to PyPI. Give that a try. It wouldn’t surprise me if you still get an error, but I hope it will be a more informative one.