bibanon / tubeup

Use yt-dlp to download video/metadata and upload to the Internet Archive.
https://pypi.python.org/pypi/tubeup/
GNU General Public License v3.0
424 stars 71 forks source link

Bug report: Error when running tubeup #328

Closed elgato9857 closed 4 months ago

elgato9857 commented 4 months ago

Checklist

If you just delete all this text and post a issue it will be closed on sight.

Carefully read and work through this check list in order to prevent the most common mistakes and misuse of tubeup, put x into all relevant boxes (like this [x])

Dependency versions

Please provide version information from core dependencies:

yt-dlp version: yt-dlp --version

internetarchive python client version: ia --version

Tubeup version: tubeup --version

Expected behavior When running the command tubeup https://www.youtube.com/watch?v=gvzJKtA8QQ0 error is received.

Additional context ERROR RECEIVED:

An exception just occured, if you found this exception isn't related with any of your connection problem, please report this issue to https://github.com/bibanon/tubeup/issues
Traceback (most recent call last):
  File "/home/administrator/.local/share/pipx/venvs/tubeup/lib/python3.12/site-packages/tubeup/__main__.py", line 99, in main
    for identifier, meta in tu.archive_urls(URLs, metadata,
  File "/home/administrator/.local/share/pipx/venvs/tubeup/lib/python3.12/site-packages/tubeup/TubeUp.py", line 411, in archive_urls
    downloaded_file_basenames = self.get_resource_basenames(
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/administrator/.local/share/pipx/venvs/tubeup/lib/python3.12/site-packages/tubeup/TubeUp.py", line 183, in get_resource_basenames
    if info_dict.get('_type', 'video') == 'playlist':
       ^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'
vxbinaca commented 4 months ago

Re-read all the requirements you didn't provide versions of tubeup, yt-dlp or internet archive.

vxbinaca commented 4 months ago

Video not alive anymore. Read the submission guidelines you broke 3 of them I should block you from wasting peoples with reports.