Closed knarf-llennoc closed 1 year ago
Thought I nabbed this one. Are you using the latest version?
On Fri, 2022-04-08 at 21:26 -0700, knarf-llennoc wrote:
Traceback (most recent call last):
File /home/user/.local/lib/python3.8/site-packages/flask/app.py, line 2073, in wsgi_app
response = self.full_dispatch_request()
File /home/user/.local/lib/python3.8/site-packages/flask/app.py, line 1518, in full_dispatch_request
rv = self.handle_user_exception(e)
File /home/user/.local/lib/python3.8/site-packages/flask/app.py, line 1516, in full_dispatch_request
rv = self.dispatch_request()
File /home/user/.local/lib/python3.8/site-packages/flask/app.py, line 1502, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args )
File /home/user/git/youtube-local/youtube/watch.py, line 665, in get_watch_page
subtitle_sources = get_subtitle_sources(info)
File /home/user/git/youtube-local/youtube/watch.py, line 256, in get_subtitle_sources
sources.append(make_caption_src(info, equiv_lang_in(pref_lang, info[automatic_caption_languages]), auto=True))
File /home/user/git/youtube-local/youtube/watch.py, line 178, in make_caption_src
url: / + yt_data_extract.get_caption_url(info, lang, vtt, auto, trans_lang),
File /home/user/git/youtube- local/youtube/yt_data_extract/watch_extraction.py, line 737, in get_caption_url
url += &lang= + language
TypeError: unsupported operand type(s) for +=: NoneType and str
Linux Mint
Linux $hostname 5.4.0-107-generic #121-Ubuntu SMP Thu Mar 24 16:04:27 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Firefox-esr
http://localhost:8888/https://www.youtube.com/watch?v=cslSQB5mgyc
Intermittent, not reproducible. Try again and it works.
(thanks for this excellent tool)
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
[ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/user234683/youtube-local/issues/127", "url": "https://github.com/user234683/youtube-local/issues/127", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.": "Organization", "name": "GitHub", "url": "https://github.com" } } ]
Closing due to lack of activity
Traceback (most recent call last): File /home/user/.local/lib/python3.8/site-packages/flask/app.py, line 2073, in wsgi_app response = self.full_dispatch_request() File /home/user/.local/lib/python3.8/site-packages/flask/app.py, line 1518, in full_dispatch_request rv = self.handle_user_exception(e) File /home/user/.local/lib/python3.8/site-packages/flask/app.py, line 1516, in full_dispatch_request rv = self.dispatch_request() File /home/user/.local/lib/python3.8/site-packages/flask/app.py, line 1502, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args) File /home/user/git/youtube-local/youtube/watch.py, line 665, in get_watch_page subtitle_sources = get_subtitle_sources(info) File /home/user/git/youtube-local/youtube/watch.py, line 256, in get_subtitle_sources sources.append(make_caption_src(info, equiv_lang_in(pref_lang, info[automatic_caption_languages]), auto=True)) File /home/user/git/youtube-local/youtube/watch.py, line 178, in make_caption_src url: / + yt_data_extract.get_caption_url(info, lang, vtt, auto, trans_lang), File /home/user/git/youtube-local/youtube/yt_data_extract/watch_extraction.py, line 737, in get_caption_url url += &lang= + language TypeError: unsupported operand type(s) for +=: NoneType and str
Linux Mint Linux $hostname 5.4.0-107-generic #121-Ubuntu SMP Thu Mar 24 16:04:27 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux Firefox-esr http://localhost:8888/https://www.youtube.com/watch?v=cslSQB5mgyc
Intermittent, not reproducible. Try again and it works.
(thanks for this excellent tool)