Public bug reported: * Impact The script [youtube-dl] stopped working due to changes on the website. I may have last used it yesterday (or very recently anyway)
* Test case $ youtube-dl https://www.youtube.com/watch?v=Y9E4eSNNsrs -> it should download the video * Regression potential The script was not working at all so it shouldn't create new problem, just check it downloads videos without error This was attempted on two 19.10 boxes; using different URL's, one with --extract-audio On one box I removed the `youtube-dl` package, and pip installed youtube-dl & it worked; so I'm assuming upstream have fixed the issue. guiverc@d960-ubu2:~$ youtube-dl https://www.youtube.com/watch?v=Y9E4eSNNsrs [youtube] Y9E4eSNNsrs: Downloading webpage [youtube] Y9E4eSNNsrs: Downloading video info webpage [youtube] Y9E4eSNNsrs: Downloading js player vflxACNZ2 ERROR: Signature extraction failed: Traceback (most recent call last): File "/home/guiverc/.local/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1342, in _decrypt_signature video_id, player_url, s File "/home/guiverc/.local/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1250, in _extract_signature_function res = self._parse_sig_js(code) File "/home/guiverc/.local/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1314, in _parse_sig_js jscode, 'Initial JS player signature function name', group='sig') File "/home/guiverc/.local/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 1004, in _search_regex raise RegexNotFoundError('Unable to extract %s' % _name) youtube_dl.utils.RegexNotFoundError: Unable to extract Initial JS player signature function name; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. (caused by RegexNotFoundError('Unable to extract \x1b[0;34mInitial JS player signature function name\x1b[0m; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.')); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. guiverc@d960-ubu2:~$ ubuntu-bug guiverc@d960-ubu2:~$ youtube-dl https://www.youtube.com/watch?v=Y9E4eSNNsrs ^CTraceback (most recent call last): File "/usr/share/apport/apport-gtk", line 596, in <module> app = GTKUserInterface() File "/usr/share/apport/apport-gtk", line 56, in __init__ apport.ui.UserInterface.__init__(self) File "/usr/lib/python3/dist-packages/apport/ui.py", line 209, in __init__ self.crashdb = apport.crashdb.get_crashdb(None) File "/usr/lib/python3/dist-packages/apport/crashdb.py", line 842, in get_crashdb return load_crashdb(auth_file, settings['databases'][name]) File "/usr/lib/python3/dist-packages/apport/crashdb.py", line 850, in load_crashdb m = __import__('apport.crashdb_impl.' + spec['impl'], globals(), locals(), ['CrashDatabase']) File "/usr/lib/python3/dist-packages/apport/crashdb_impl/launchpad.py", line 31, in <module> from launchpadlib.errors import HTTPError File "/usr/lib/python3/dist-packages/launchpadlib/errors.py", line 20, in <module> from lazr.restfulclient.errors import * File "/usr/lib/python3/dist-packages/lazr/restfulclient/__init__.py", line 19, in <module> import pkg_resources File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3191, in <module> @_call_aside File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3175, in _call_aside f(*args, **kwargs) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3219, in _initialize_master_working_set for dist in working_set File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3219, in <genexpr> for dist in working_set File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2723, in activate fixup_namespace_packages(self.location) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2263, in fixup_namespace_packages subpath = _handle_ns(package, path_item) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2169, in _handle_ns loader = importer.find_module(packageName) File "<frozen importlib._bootstrap_external>", line 431, in _find_module_shim File "<frozen importlib._bootstrap_external>", line 1346, in find_loader File "<frozen importlib._bootstrap_external>", line 1364, in find_spec File "<frozen importlib._bootstrap_external>", line 81, in _path_stat KeyboardInterrupt ** Affects: youtube-dl (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1835027 Title: youtube-dl stopped working again (Signature extraction failed: Traceback) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/youtube-dl/+bug/1835027/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs