-
Notifications
You must be signed in to change notification settings - Fork 21
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
[Feature Request] Method to have no paths when downloading #8
Comments
I haven't tested this, but here is a starting point: https://github.com/john-corcoran/internetarchive-downloader/blob/main/ia_downloader.py#L410 https://github.com/john-corcoran/internetarchive-downloader/blob/main/ia_downloader.py#L1106 Question: |
I commented out
I commented out other stuff too, but it seems that the "destdir=output_folder" part is what did it. See this file which is a modified version of ia downloader which works to do the thing in the OP (it might get moved around/renamed to something/somewhere else in repo "ia-to-ipfs"): |
Can confirm that merely commenting out "destdir=output_folder," will do it (you get files in such a folder), but you get errors. Implementing code edits from #8 (comment) results in less bad errors/warnings. Todo - fix "ia_dl_working_errors.py" so it doesn't return the non-info parts below at the end of stdout:
|
"I commented out other stuff too" refers to this version: "Todo - fix ..." - I guess this would not be a hard fix as it would be done by removing references to a certain parent folder. Currently "ia_dl_working_errors.py" (ProximaNova/ia-to-ipfs@86621a1) is a replacement to do something differently; it is not a modification where more options are gained. The latter might be the best outcome if I or anyone wants to make it happen. |
Is there a method to specify no paths when downloading? I noticed there is the --nopaths option for verify but wondering if it is possible to do the same when downloading.
Ideally I want remove the top level folder when downloading an item so that I can specify the final directory for the files.
Otherwise can this be done with a search method? so just return specific file formats maybe..
The text was updated successfully, but these errors were encountered: