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
Support: singlefile & readability fail to work #1386
Comments
Try running this: /mnt/media/ArchiveBox/node_modules/single-file-cli/single-file --browser-executable-path=chromium 'https://web.archive.org/web/20240301170542/https://www.roadandtrack.com/car-culture/a46975496/behind-f1-velvet-curtain/' singlefile.html But also you are archiving a URL that's already on the internet archive? You can try it but we don't really support that very well. You may want to follow this issue if you do that a lot: #160 |
If I do that in terminal I get:
Note: the error I described happens on ANY URL I try to add as mentioned in my initial post, not just archive.org links. For example:
Gets: bash: syntax error near unexpected token `(' (I noticed in my initial post the code block removed the symbol before the parenthesis and I have edited to reflect that) Also, I don't plan on using the terminal over the web interface to add new snapshots. The only reason I ran the command in terminal was to get more details of the error, so I'd like to see what can be done to solve this to enable the use of the web UI. Thanks! |
Can you screenshot the terminal running the command and getting this error (manually remove the user agent args when running that copy-pasted command as the quote escaping is whats causing a bunch of the errors you're seeing |
For every snapshot I try, singlefile and readability fail. I assume readability may fail due to lack of the singlefile.html.
Error for singlefile:
SingleFile was not able to archive the page
If I run the command it tries to run in terminal I get:
bash: syntax error near unexpected token `('
The raw command I copied from the log section and ran to get the above:
/mnt/media/ArchiveBox/node_modules/single-file-cli/single-file --browser-executable-path=chromium --browser-args=[\"--headless=new\", \"--user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 ArchiveBox/0.7.2 (+https://github.com/ArchiveBox/ArchiveBox/)\", \"--window-size=1440,2000\"] https://web.archive.org/web/20240301170542/https://www.roadandtrack.com/car-culture/a46975496/behind-f1-velvet-curtain/ singlefile.html
This error occurs for every article I try to archive.
Readability error is:
Readability was not able to archive the page (invalid JSON)
But, again, since I see a reference to singlefile.html in the command I expect solving the above will solve this.
The output of archivebox version is:
The text was updated successfully, but these errors were encountered: