{"language": "Python", "id": 6, "repo_owner": "yt-dlp", "repo_name": "yt-dlp", "head_branch": "master", "workflow_name": "Quick Test", "workflow_filename": "quick-test.yml", "workflow_path": ".github/workflows/quick-test.yml", "contributor": "aniolpages", "sha_fail": "d2e06b56d64570ac18b90329ac791c155ce415db", "sha_success": "2121e472bab5ae519ff81a306afc35a6c906be59", "workflow": "name: Quick Test\non: [push, pull_request]\npermissions:\n contents: read\n\njobs:\n tests:\n name: Core Test\n if: \"!contains(github.event.head_commit.message, 'ci skip all')\"\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v3\n - name: Set up Python 3.11\n uses: actions/setup-python@v4\n with:\n python-version: '3.11'\n - name: Install test requirements\n run: pip install pytest pycryptodomex\n - name: Run tests\n run: |\n python3 -m yt_dlp -v || true\n ./devscripts/run_tests.sh core\n flake8:\n name: Linter\n if: \"!contains(github.event.head_commit.message, 'ci skip all')\"\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v3\n - uses: actions/setup-python@v4\n - name: Install flake8\n run: pip install flake8\n - name: Make lazy extractors\n run: python devscripts/make_lazy_extractors.py\n - name: Run flake8\n run: flake8 .\n", "logs": [{"step_name": "Linter/5_Make lazy extractors.txt", "log": "##[group]Run python devscripts/make_lazy_extractors.py\n\u001b[36;1mpython devscripts/make_lazy_extractors.py\u001b[0m\nshell: /usr/bin/bash -e {0}\n##[endgroup]\nTraceback (most recent call last):\n File \"/home/runner/work/yt-dlp/yt-dlp/devscripts/make_lazy_extractors.py\", line 132, in \n main()\n File \"/home/runner/work/yt-dlp/yt-dlp/devscripts/make_lazy_extractors.py\", line 41, in main\n _ALL_CLASSES = get_all_ies() # Must be before import\n File \"/home/runner/work/yt-dlp/yt-dlp/devscripts/make_lazy_extractors.py\", line 68, in get_all_ies\n from yt_dlp.extractor.extractors import _ALL_CLASSES\n File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/extractors.py\", line 17, in \n from ._extractors import * # noqa: F403\n File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/_extractors.py\", line 956, in \n from .laxarxames import LaXarxaMesIE\n File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/laxarxames.py\", line 37\n )\n ^\nSyntaxError: unmatched ')'\n##[error]Process completed with exit code 1.\n"}, {"step_name": "Core Test/5_Run tests.txt", "log": "##[group]Run python3 -m yt_dlp -v || true\n\u001b[36;1mpython3 -m yt_dlp -v || true\u001b[0m\n\u001b[36;1m./devscripts/run_tests.sh core\u001b[0m\nshell: /usr/bin/bash -e {0}\nenv:\n pythonLocation: /opt/hostedtoolcache/Python/3.11.6/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.11.6/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.6/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.6/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.6/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.6/x64/lib\n##[endgroup]\n[debug] Command-line config: ['-v']\nTraceback (most recent call last):\n File \"\", line 198, in _run_module_as_main\n File \"\", line 88, in _run_code\n File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/__main__.py\", line 17, in \n yt_dlp.main()\n File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/__init__.py\", line 1008, in main\n _exit(*variadic(_real_main(argv)))\n ^^^^^^^^^^^^^^^^\n File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/__init__.py\", line 962, in _real_main\n with YoutubeDL(ydl_opts) as ydl:\n ^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/YoutubeDL.py\", line 681, in __init__\n self.print_debug_header()\n File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/YoutubeDL.py\", line 3889, in print_debug_header\n from .extractor.extractors import _LAZY_LOADER\n File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/extractors.py\", line 17, in \n from ._extractors import * # noqa: F403\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/_extractors.py\", line 956, in \n from .laxarxames import LaXarxaMesIE\n File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/laxarxames.py\", line 37\n )\n ^\nSyntaxError: unmatched ')'\n============================= test session starts ==============================\nplatform linux -- Python 3.11.6, pytest-7.4.3, pluggy-1.3.0 -- /opt/hostedtoolcache/Python/3.11.6/x64/bin/python3\ncachedir: .pytest_cache\nrootdir: /home/runner/work/yt-dlp/yt-dlp\nconfigfile: setup.cfg\ncollecting ... collected 567 items / 9 errors / 6 deselected / 561 selected\n\n==================================== ERRORS ====================================\n_________________ ERROR collecting test/test_InfoExtractor.py __________________\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule\n mod = import_path(self.path, mode=importmode, root=self.config.rootpath)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/pathlib.py:567: in import_path\n importlib.import_module(module_name)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n:1204: in _gcd_import\n ???\n:1176: in _find_and_load\n ???\n:1147: in _find_and_load_unlocked\n ???\n:690: in _load_unlocked\n ???\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:186: in exec_module\n exec(co, module.__dict__)\ntest/test_InfoExtractor.py:16: in \n from yt_dlp.extractor import YoutubeIE, get_info_extractor\n:1229: in _handle_fromlist\n ???\nyt_dlp/compat/compat_utils.py:36: in __getattribute__\n ret = super().__getattribute__(attr)\nyt_dlp/compat/compat_utils.py:54: in __getattr__\n ret = from_child(attr)\nyt_dlp/compat/compat_utils.py:68: in from_child\n child = importlib.import_module(child, parent.__name__)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\nyt_dlp/extractor/extractors.py:17: in \n from ._extractors import * # noqa: F403\nyt_dlp/extractor/_extractors.py:956: in \n from .laxarxames import LaXarxaMesIE\nE File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/laxarxames.py\", line 37\nE )\nE ^\nE SyntaxError: unmatched ')'\n___________________ ERROR collecting test/test_YoutubeDL.py ____________________\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule\n mod = import_path(self.path, mode=importmode, root=self.config.rootpath)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/pathlib.py:567: in import_path\n importlib.import_module(module_name)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n:1204: in _gcd_import\n ???\n:1176: in _find_and_load\n ???\n:1147: in _find_and_load_unlocked\n ???\n:690: in _load_unlocked\n ???\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:186: in exec_module\n exec(co, module.__dict__)\ntest/test_YoutubeDL.py:17: in \n from yt_dlp.extractor import YoutubeIE\n:1229: in _handle_fromlist\n ???\nyt_dlp/compat/compat_utils.py:36: in __getattribute__\n ret = super().__getattribute__(attr)\nyt_dlp/compat/compat_utils.py:54: in __getattr__\n ret = from_child(attr)\nyt_dlp/compat/compat_utils.py:68: in from_child\n child = importlib.import_module(child, parent.__name__)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\nyt_dlp/extractor/extractors.py:17: in \n from ._extractors import * # noqa: F403\nyt_dlp/extractor/_extractors.py:956: in \n from .laxarxames import LaXarxaMesIE\nE File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/laxarxames.py\", line 37\nE )\nE ^\nE SyntaxError: unmatched ')'\n____________________ ERROR collecting test/test_all_urls.py ____________________\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule\n mod = import_path(self.path, mode=importmode, root=self.config.rootpath)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/pathlib.py:567: in import_path\n importlib.import_module(module_name)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n:1204: in _gcd_import\n ???\n:1176: in _find_and_load\n ???\n:1147: in _find_and_load_unlocked\n ???\n:690: in _load_unlocked\n ???\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:186: in exec_module\n exec(co, module.__dict__)\ntest/test_all_urls.py:14: in \n from yt_dlp.extractor import FacebookIE, YoutubeIE, gen_extractors\n:1229: in _handle_fromlist\n ???\nyt_dlp/compat/compat_utils.py:36: in __getattribute__\n ret = super().__getattribute__(attr)\nyt_dlp/compat/compat_utils.py:54: in __getattr__\n ret = from_child(attr)\nyt_dlp/compat/compat_utils.py:68: in from_child\n child = importlib.import_module(child, parent.__name__)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\nyt_dlp/extractor/extractors.py:17: in \n from ._extractors import * # noqa: F403\nyt_dlp/extractor/_extractors.py:956: in \n from .laxarxames import LaXarxaMesIE\nE File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/laxarxames.py\", line 37\nE )\nE ^\nE SyntaxError: unmatched ')'\n____________________ ERROR collecting test/test_download.py ____________________\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule\n mod = import_path(self.path, mode=importmode, root=self.config.rootpath)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/pathlib.py:567: in import_path\n importlib.import_module(module_name)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n:1204: in _gcd_import\n ???\n:1176: in _find_and_load\n ???\n:1147: in _find_and_load_unlocked\n ???\n:690: in _load_unlocked\n ???\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:186: in exec_module\n exec(co, module.__dict__)\ntest/test_download.py:286: in \n inject_tests(normal_test_cases)\ntest/test_download.py:275: in inject_tests\n for test_case in test_cases:\ntest/helper.py:91: in gettestcases\n for ie in yt_dlp.extractor.gen_extractors():\nyt_dlp/extractor/__init__.py:20: in gen_extractors\n return [klass() for klass in gen_extractor_classes()]\nyt_dlp/extractor/__init__.py:11: in gen_extractor_classes\n from .extractors import _ALL_CLASSES\nyt_dlp/extractor/extractors.py:17: in \n from ._extractors import * # noqa: F403\nyt_dlp/extractor/_extractors.py:956: in \n from .laxarxames import LaXarxaMesIE\nE File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/laxarxames.py\", line 37\nE )\nE ^\nE SyntaxError: unmatched ')'\n_____________ ERROR collecting test/test_iqiyi_sdk_interpreter.py ______________\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule\n mod = import_path(self.path, mode=importmode, root=self.config.rootpath)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/pathlib.py:567: in import_path\n importlib.import_module(module_name)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n:1204: in _gcd_import\n ???\n:1176: in _find_and_load\n ???\n:1147: in _find_and_load_unlocked\n ???\n:690: in _load_unlocked\n ???\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:186: in exec_module\n exec(co, module.__dict__)\ntest/test_iqiyi_sdk_interpreter.py:12: in \n from yt_dlp.extractor import IqiyiIE\n:1229: in _handle_fromlist\n ???\nyt_dlp/compat/compat_utils.py:36: in __getattribute__\n ret = super().__getattribute__(attr)\nyt_dlp/compat/compat_utils.py:54: in __getattr__\n ret = from_child(attr)\nyt_dlp/compat/compat_utils.py:68: in from_child\n child = importlib.import_module(child, parent.__name__)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\nyt_dlp/extractor/extractors.py:17: in \n from ._extractors import * # noqa: F403\nyt_dlp/extractor/_extractors.py:956: in \n from .laxarxames import LaXarxaMesIE\nE File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/laxarxames.py\", line 37\nE )\nE ^\nE SyntaxError: unmatched ')'\n___________________ ERROR collecting test/test_subtitles.py ____________________\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule\n mod = import_path(self.path, mode=importmode, root=self.config.rootpath)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/pathlib.py:567: in import_path\n importlib.import_module(module_name)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n:1204: in _gcd_import\n ???\n:1176: in _find_and_load\n ???\n:1147: in _find_and_load_unlocked\n ???\n:690: in _load_unlocked\n ???\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:186: in exec_module\n exec(co, module.__dict__)\ntest/test_subtitles.py:12: in \n from yt_dlp.extractor import (\n:1229: in _handle_fromlist\n ???\nyt_dlp/compat/compat_utils.py:36: in __getattribute__\n ret = super().__getattribute__(attr)\nyt_dlp/compat/compat_utils.py:54: in __getattr__\n ret = from_child(attr)\nyt_dlp/compat/compat_utils.py:68: in from_child\n child = importlib.import_module(child, parent.__name__)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\nyt_dlp/extractor/extractors.py:17: in \n from ._extractors import * # noqa: F403\nyt_dlp/extractor/_extractors.py:956: in \n from .laxarxames import LaXarxaMesIE\nE File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/laxarxames.py\", line 37\nE )\nE ^\nE SyntaxError: unmatched ')'\n_________________ ERROR collecting test/test_youtube_lists.py __________________\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule\n mod = import_path(self.path, mode=importmode, root=self.config.rootpath)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/pathlib.py:567: in import_path\n importlib.import_module(module_name)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n:1204: in _gcd_import\n ???\n:1176: in _find_and_load\n ???\n:1147: in _find_and_load_unlocked\n ???\n:690: in _load_unlocked\n ???\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:186: in exec_module\n exec(co, module.__dict__)\ntest/test_youtube_lists.py:12: in \n from yt_dlp.extractor import YoutubeIE, YoutubeTabIE\n:1229: in _handle_fromlist\n ???\nyt_dlp/compat/compat_utils.py:36: in __getattribute__\n ret = super().__getattribute__(attr)\nyt_dlp/compat/compat_utils.py:54: in __getattr__\n ret = from_child(attr)\nyt_dlp/compat/compat_utils.py:68: in from_child\n child = importlib.import_module(child, parent.__name__)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\nyt_dlp/extractor/extractors.py:17: in \n from ._extractors import * # noqa: F403\nyt_dlp/extractor/_extractors.py:956: in \n from .laxarxames import LaXarxaMesIE\nE File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/laxarxames.py\", line 37\nE )\nE ^\nE SyntaxError: unmatched ')'\n__________________ ERROR collecting test/test_youtube_misc.py __________________\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule\n mod = import_path(self.path, mode=importmode, root=self.config.rootpath)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/pathlib.py:567: in import_path\n importlib.import_module(module_name)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n:1204: in _gcd_import\n ???\n:1176: in _find_and_load\n ???\n:1147: in _find_and_load_unlocked\n ???\n:690: in _load_unlocked\n ???\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:186: in exec_module\n exec(co, module.__dict__)\ntest/test_youtube_misc.py:11: in \n from yt_dlp.extractor import YoutubeIE\n:1229: in _handle_fromlist\n ???\nyt_dlp/compat/compat_utils.py:36: in __getattribute__\n ret = super().__getattribute__(attr)\nyt_dlp/compat/compat_utils.py:54: in __getattr__\n ret = from_child(attr)\nyt_dlp/compat/compat_utils.py:68: in from_child\n child = importlib.import_module(child, parent.__name__)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\nyt_dlp/extractor/extractors.py:17: in \n from ._extractors import * # noqa: F403\nyt_dlp/extractor/_extractors.py:956: in \n from .laxarxames import LaXarxaMesIE\nE File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/laxarxames.py\", line 37\nE )\nE ^\nE SyntaxError: unmatched ')'\n_______________ ERROR collecting test/test_youtube_signature.py ________________\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule\n mod = import_path(self.path, mode=importmode, root=self.config.rootpath)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/pathlib.py:567: in import_path\n importlib.import_module(module_name)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n:1204: in _gcd_import\n ???\n:1176: in _find_and_load\n ???\n:1147: in _find_and_load_unlocked\n ???\n:690: in _load_unlocked\n ???\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:186: in exec_module\n exec(co, module.__dict__)\ntest/test_youtube_signature.py:17: in \n from yt_dlp.extractor import YoutubeIE\n:1229: in _handle_fromlist\n ???\nyt_dlp/compat/compat_utils.py:36: in __getattribute__\n ret = super().__getattribute__(attr)\nyt_dlp/compat/compat_utils.py:54: in __getattr__\n ret = from_child(attr)\nyt_dlp/compat/compat_utils.py:68: in from_child\n child = importlib.import_module(child, parent.__name__)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\nyt_dlp/extractor/extractors.py:17: in \n from ._extractors import * # noqa: F403\nyt_dlp/extractor/_extractors.py:956: in \n from .laxarxames import LaXarxaMesIE\nE File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/laxarxames.py\", line 37\nE )\nE ^\nE SyntaxError: unmatched ')'\n=========================== short test summary info ============================\nERROR test/test_InfoExtractor.py\nERROR test/test_YoutubeDL.py\nERROR test/test_all_urls.py\nERROR test/test_download.py\nERROR test/test_iqiyi_sdk_interpreter.py\nERROR test/test_subtitles.py\nERROR test/test_youtube_lists.py\nERROR test/test_youtube_misc.py\nERROR test/test_youtube_signature.py\n!!!!!!!!!!!!!!!!!!! Interrupted: 9 errors during collection !!!!!!!!!!!!!!!!!!!!\n======================= 6 deselected, 9 errors in 2.30s ========================\n##[error]Process completed with exit code 2.\n"}], "diff": "diff --git a/README.md b/README.md\nindex 3b7432474..d464519f0 100644\n--- a/README.md\n+++ b/README.md\n@@ -1801,7 +1801,7 @@ # EXTRACTOR ARGUMENTS\n #### youtube\n * `lang`: Prefer translated metadata (`title`, `description` etc) of this language code (case-sensitive). By default, the video primary language metadata is preferred, with a fallback to `en` translated. See [youtube.py](https://github.com/yt-dlp/yt-dlp/blob/c26f9b991a0681fd3ea548d535919cec1fbbd430/yt_dlp/extractor/youtube.py#L381-L390) for list of supported content language codes\n * `skip`: One or more of `hls`, `dash` or `translated_subs` to skip extraction of the m3u8 manifests, dash manifests and [auto-translated subtitles](https://github.com/yt-dlp/yt-dlp/issues/4090#issuecomment-1158102032) respectively\n-* `player_client`: Clients to extract video data from. The main clients are `web`, `android` and `ios` with variants `_music`, `_embedded`, `_embedscreen`, `_creator` (e.g. `web_embedded`); and `mweb`, `mweb_embedscreen` and `tv_embedded` (agegate bypass) with no variants. By default, `ios,android,web` is used, but `tv_embedded` and `creator` variants are added as required for age-gated videos. Similarly, the music variants are added for `music.youtube.com` urls. You can use `all` to use all the clients, and `default` for the default clients.\n+* `player_client`: Clients to extract video data from. The main clients are `web`, `android` and `ios` with variants `_music`, `_embedded`, `_embedscreen`, `_creator` (e.g. `web_embedded`); and `mweb`, `mweb_embedscreen` and `tv_embedded` (agegate bypass) with no variants. By default, `android,web,ios` is used, but `tv_embedded` and `creator` variants are added as required for age-gated videos. Similarly, the music variants are added for `music.youtube.com` urls. You can use `all` to use all the clients, and `default` for the default clients.\n * `player_skip`: Skip some network requests that are generally needed for robust extraction. One or more of `configs` (skip client configs), `webpage` (skip initial webpage), `js` (skip js player). While these options can help reduce the number of requests needed or avoid some rate-limiting, they could cause some issues. See [#860](https://github.com/yt-dlp/yt-dlp/pull/860) for more details\n * `player_params`: YouTube player parameters to use for player requests. Will overwrite any default ones set by yt-dlp.\n * `comment_sort`: `top` or `new` (default) - choose comment sorting mode (on YouTube's side)\ndiff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py\nindex 8e11646d3..f10167826 100644\n--- a/yt_dlp/YoutubeDL.py\n+++ b/yt_dlp/YoutubeDL.py\n@@ -2338,7 +2338,7 @@ def _check_formats(formats):\n return\n \n for f in formats:\n- if f.get('has_drm'):\n+ if f.get('has_drm') or f.get('__needs_testing'):\n yield from self._check_formats([f])\n else:\n yield f\n@@ -4242,7 +4242,7 @@ def _write_thumbnails(self, label, info_dict, filename, thumb_filename_base=None\n self.write_debug(f'Skipping writing {label} thumbnail')\n return ret\n \n- if not self._ensure_dir_exists(filename):\n+ if thumbnails and not self._ensure_dir_exists(filename):\n return None\n \n for idx, t in list(enumerate(thumbnails))[::-1]:\ndiff --git a/yt_dlp/extractor/_extractors.py b/yt_dlp/extractor/_extractors.py\nindex f415819ed..a8eac0bc5 100644\n--- a/yt_dlp/extractor/_extractors.py\n+++ b/yt_dlp/extractor/_extractors.py\n@@ -953,7 +953,6 @@\n LastFMPlaylistIE,\n LastFMUserIE,\n )\n-from .laxarxames import LaXarxaMesIE\n from .lbry import (\n LBRYIE,\n LBRYChannelIE,\n@@ -1417,6 +1416,7 @@\n ORFTVthekIE,\n ORFFM4StoryIE,\n ORFRadioIE,\n+ ORFPodcastIE,\n ORFIPTVIE,\n )\n from .outsidetv import OutsideTVIE\ndiff --git a/yt_dlp/extractor/generic.py b/yt_dlp/extractor/generic.py\nindex 5e1240c13..ac7cc673f 100644\n--- a/yt_dlp/extractor/generic.py\n+++ b/yt_dlp/extractor/generic.py\n@@ -34,6 +34,7 @@\n unified_timestamp,\n unsmuggle_url,\n update_url_query,\n+ urlhandle_detect_ext,\n url_or_none,\n urljoin,\n variadic,\n@@ -2459,7 +2460,7 @@ def _real_extract(self, url):\n self.report_detected('direct video link')\n headers = smuggled_data.get('http_headers', {})\n format_id = str(m.group('format_id'))\n- ext = determine_ext(url)\n+ ext = determine_ext(url, default_ext=None) or urlhandle_detect_ext(full_response)\n subtitles = {}\n if format_id.endswith('mpegurl') or ext == 'm3u8':\n formats, subtitles = self._extract_m3u8_formats_and_subtitles(url, video_id, 'mp4', headers=headers)\n@@ -2471,6 +2472,7 @@ def _real_extract(self, url):\n formats = [{\n 'format_id': format_id,\n 'url': url,\n+ 'ext': ext,\n 'vcodec': 'none' if m.group('type') == 'audio' else None\n }]\n info_dict['direct'] = True\ndiff --git a/yt_dlp/extractor/laxarxames.py b/yt_dlp/extractor/laxarxames.py\ndeleted file mode 100644\nindex b7cad9cdb..000000000\n--- a/yt_dlp/extractor/laxarxames.py\n+++ /dev/null\n@@ -1,97 +0,0 @@\n-from .common import InfoExtractor\n-\n-\n-class LaXarxaMesIE(InfoExtractor):\n- _VALID_URL = r'https?://(?:www\\.)?laxarxames\\.cat/(?:[^/]+/)*?(player|movie-details)/(?P[0-9]+)'\n- _NETRC_MACHINE = 'laxarxames'\n- _IS_LOGGED_IN = False\n- _LOGIN_URL = 'https://www.laxarxames.cat/login'\n- _TESTS = [{\n- 'url': 'https://www.laxarxames.cat/player/3459421',\n- 'md5': '0966f46c34275934c19af78f3df6e2bc',\n- 'info_dict': {\n- 'id': '3459421',\n- 'ext': 'mp4',\n- 'title': 'Resum | UA Horta \u2014 UD Viladecans',\n- 'type': 'video/mp4',\n- },\n- 'skip': 'Requires login',\n- }]\n-\n- def _perform_login(self, username, password):\n- login = self._download_json(\n- 'https://api.laxarxames.cat/Authorization/SignIn', None, note='Logging in', headers={\n- 'X-Tenantorigin': 'https://laxarxames.cat',\n- 'Content-Type': 'application/json',\n- 'Accept': 'application/json, text/plain, */*',\n- 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko)',\n- 'Origin': 'https://www.laxarxames.cat',\n- }, data=json.dumps({\n- 'Username': username,\n- 'Password': password,\n- 'Device': {\n- 'PlatformCode': 'WEB',\n- 'Name': 'Mac OS ()',\n- },\n- }).encode('utf-8'))\n- )\n-\n- if not login['AuthorizationToken']:\n- raise Exception('Login failed')\n- else:\n- self._set_cookie('www.laxarxames.cat', 'didomi_token', login['AuthorizationToken']['Token'])\n-\n- def _real_extract(self, url):\n- video_id = self._match_id(url)\n- authorization = self._get_cookies('https://www.laxarxames.cat/').get('didomi_token')\n-\n- if not authorization:\n- self.raise_login_required()\n- mediaplayinfo = self._download_json(\n- 'https://api.laxarxames.cat/Media/GetMediaPlayInfo',\n- video_id,\n- data=b'{\"MediaId\":%s,\"StreamType\":\"MAIN\"}' % video_id.encode(),\n- headers={\n- 'Authorization': 'Bearer ' + authorization.value,\n- 'X-Tenantorigin': 'https://laxarxames.cat',\n- 'Content-Type': 'application/json',\n- 'Accept': 'application/json, text/plain, */*',\n- 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko)',\n- 'Origin': 'https://www.laxarxames.cat',\n- }\n- )\n-\n- contenturl = mediaplayinfo['ContentUrl']\n- title = mediaplayinfo['Title']\n-\n- videodata = self._download_json(\n- 'https://edge.api.brightcove.com/playback/v1/accounts/5779379807001/videos/' + contenturl,\n- video_id,\n- headers={\n- 'Accept': 'application/json;pk=BCpkADawqM2uXEFYflHlCdYKQdRAfbdvR3tpOY9_jxup5aqCrMmJxjXtV6k9Khk7hKqFFp15BwULNmQkWBik0SJgtgqDAoni09Ezx2w4dIGs1GAjhnLMWXaeCmveEusJKQYs83DIlSUIPccu'\n- }\n- )\n-\n- sources = videodata['sources']\n-\n- formats = []\n- for source in sources:\n- url = source['src']\n- type = ''\n- manifest_url = None\n- if 'type' in source:\n- type = source['type']\n- manifest_url = source['src']\n- else:\n- type = 'video/mp4'\n- formats.append({\n- 'url': url,\n- 'type': type,\n- 'manifest_url': manifest_url\n- })\n-\n- return {\n- 'id': video_id,\n- 'title': title,\n- 'formats': formats,\n- }\ndiff --git a/yt_dlp/extractor/npo.py b/yt_dlp/extractor/npo.py\nindex 40fee24d0..4d5ff50de 100644\n--- a/yt_dlp/extractor/npo.py\n+++ b/yt_dlp/extractor/npo.py\n@@ -245,7 +245,7 @@ def _real_extract(self, url):\n 'quality': 'npoplus',\n 'tokenId': player_token,\n 'streamType': 'broadcast',\n- })\n+ }, data=b'') # endpoint requires POST\n if not streams:\n continue\n stream = streams.get('stream')\ndiff --git a/yt_dlp/extractor/orf.py b/yt_dlp/extractor/orf.py\nindex cc3c003fa..f33b0501f 100644\n--- a/yt_dlp/extractor/orf.py\n+++ b/yt_dlp/extractor/orf.py\n@@ -20,7 +20,9 @@\n unified_strdate,\n unsmuggle_url,\n url_or_none,\n+ mimetype2ext,\n )\n+from ..utils.traversal import traverse_obj\n \n \n class ORFTVthekIE(InfoExtractor):\n@@ -334,6 +336,45 @@ def _real_extract(self, url):\n self._entries(data, station or station2), show_id, data.get('title'), clean_html(data.get('subtitle')))\n \n \n+class ORFPodcastIE(InfoExtractor):\n+ IE_NAME = 'orf:podcast'\n+ _STATION_RE = '|'.join(map(re.escape, (\n+ 'bgl', 'fm4', 'ktn', 'noe', 'oe1', 'oe3',\n+ 'ooe', 'sbg', 'stm', 'tir', 'tv', 'vbg', 'wie')))\n+ _VALID_URL = rf'https?://sound\\.orf\\.at/podcast/(?P{_STATION_RE})/(?P[\\w-]+)/(?P[\\w-]+)'\n+ _TESTS = [{\n+ 'url': 'https://sound.orf.at/podcast/oe3/fruehstueck-bei-mir/nicolas-stockhammer-15102023',\n+ 'md5': '526a5700e03d271a1505386a8721ab9b',\n+ 'info_dict': {\n+ 'id': 'nicolas-stockhammer-15102023',\n+ 'ext': 'mp3',\n+ 'title': 'Nicolas Stockhammer (15.10.2023)',\n+ 'duration': 3396.0,\n+ 'series': 'Fr\u00fchst\u00fcck bei mir',\n+ },\n+ 'skip': 'ORF podcasts are only available for a limited time'\n+ }]\n+\n+ def _real_extract(self, url):\n+ station, show, show_id = self._match_valid_url(url).group('station', 'show', 'id')\n+ data = self._download_json(\n+ f'https://audioapi.orf.at/radiothek/api/2.0/podcast/{station}/{show}/{show_id}', show_id)\n+\n+ return {\n+ 'id': show_id,\n+ 'ext': 'mp3',\n+ 'vcodec': 'none',\n+ **traverse_obj(data, ('payload', {\n+ 'url': ('enclosures', 0, 'url'),\n+ 'ext': ('enclosures', 0, 'type', {mimetype2ext}),\n+ 'title': 'title',\n+ 'description': ('description', {clean_html}),\n+ 'duration': ('duration', {functools.partial(float_or_none, scale=1000)}),\n+ 'series': ('podcast', 'title'),\n+ })),\n+ }\n+\n+\n class ORFIPTVIE(InfoExtractor):\n IE_NAME = 'orf:iptv'\n IE_DESC = 'iptv.ORF.at'\ndiff --git a/yt_dlp/extractor/polskieradio.py b/yt_dlp/extractor/polskieradio.py\nindex 5bf92b9b5..e0b22fffd 100644\n--- a/yt_dlp/extractor/polskieradio.py\n+++ b/yt_dlp/extractor/polskieradio.py\n@@ -262,14 +262,14 @@ def _call_lp3(self, path, query, video_id, note):\n query=query, headers={'x-api-key': '9bf6c5a2-a7d0-4980-9ed7-a3f7291f2a81'})\n \n def _entries(self, playlist_id, has_episodes, has_articles):\n- for i in itertools.count(1) if has_episodes else []:\n+ for i in itertools.count(0) if has_episodes else []:\n page = self._call_lp3(\n 'AudioArticle/GetListByCategoryId', {\n 'categoryId': playlist_id,\n 'PageSize': 10,\n 'skip': i,\n 'format': 400,\n- }, playlist_id, f'Downloading episode list page {i}')\n+ }, playlist_id, f'Downloading episode list page {i + 1}')\n if not traverse_obj(page, 'data'):\n break\n for episode in page['data']:\n@@ -281,14 +281,14 @@ def _entries(self, playlist_id, has_episodes, has_articles):\n 'timestamp': parse_iso8601(episode.get('datePublic')),\n }\n \n- for i in itertools.count(1) if has_articles else []:\n+ for i in itertools.count(0) if has_articles else []:\n page = self._call_lp3(\n 'Article/GetListByCategoryId', {\n 'categoryId': playlist_id,\n 'PageSize': 9,\n 'skip': i,\n 'format': 400,\n- }, playlist_id, f'Downloading article list page {i}')\n+ }, playlist_id, f'Downloading article list page {i + 1}')\n if not traverse_obj(page, 'data'):\n break\n for article in page['data']:\ndiff --git a/yt_dlp/extractor/qdance.py b/yt_dlp/extractor/qdance.py\nindex d817677f0..934ebbfd7 100644\n--- a/yt_dlp/extractor/qdance.py\n+++ b/yt_dlp/extractor/qdance.py\n@@ -15,7 +15,7 @@\n \n class QDanceIE(InfoExtractor):\n _NETRC_MACHINE = 'qdance'\n- _VALID_URL = r'https?://(?:www\\.)?q-dance\\.com/network/(?:library|live)/(?P\\d+)'\n+ _VALID_URL = r'https?://(?:www\\.)?q-dance\\.com/network/(?:library|live)/(?P[\\w-]+)'\n _TESTS = [{\n 'note': 'vod',\n 'url': 'https://www.q-dance.com/network/library/146542138',\n@@ -53,6 +53,27 @@ class QDanceIE(InfoExtractor):\n 'channel_id': 'qdancenetwork.video_149170353',\n },\n 'skip': 'Completed livestream',\n+ }, {\n+ 'note': 'vod with alphanumeric id',\n+ 'url': 'https://www.q-dance.com/network/library/WhDleSIWSfeT3Q9ObBKBeA',\n+ 'info_dict': {\n+ 'id': 'WhDleSIWSfeT3Q9ObBKBeA',\n+ 'ext': 'mp4',\n+ 'title': 'Aftershock I Defqon.1 Weekend Festival 2023 I Sunday I BLUE',\n+ 'display_id': 'naam-i-defqon-1-weekend-festival-2023-i-dag-i-podium',\n+ 'description': 'Relive Defqon.1 Path of the Warrior with Aftershock at the BLUE \ud83d\udd25',\n+ 'series': 'Defqon.1',\n+ 'series_id': '31840378',\n+ 'season': 'Defqon.1 Weekend Festival 2023',\n+ 'season_id': '141735599',\n+ 'duration': 3507,\n+ 'availability': 'premium_only',\n+ 'thumbnail': 'https://images.q-dance.network/1698158361-230625-135716-defqon-1-aftershock.jpg',\n+ },\n+ 'params': {'skip_download': 'm3u8'},\n+ }, {\n+ 'url': 'https://www.q-dance.com/network/library/-uRFKXwmRZGVnve7av9uqA',\n+ 'only_matching': True,\n }]\n \n _access_token = None\ndiff --git a/yt_dlp/extractor/twitcasting.py b/yt_dlp/extractor/twitcasting.py\nindex 540e217fd..32a38c86e 100644\n--- a/yt_dlp/extractor/twitcasting.py\n+++ b/yt_dlp/extractor/twitcasting.py\n@@ -142,7 +142,7 @@ def _real_extract(self, url):\n 'https://twitcasting.tv/streamserver.php?target=%s&mode=client' % uploader_id, video_id,\n 'Downloading live info', fatal=False)\n \n- is_live = 'data-status=\"online\"' in webpage\n+ is_live = any(f'data-{x}' in webpage for x in ['is-onlive=\"true\"', 'live-type=\"live\"', 'status=\"online\"'])\n if not traverse_obj(stream_server_data, 'llfmp4') and is_live:\n self.raise_login_required(method='cookies')\n \ndiff --git a/yt_dlp/extractor/weverse.py b/yt_dlp/extractor/weverse.py\nindex 47f36806b..c94ca9db9 100644\n--- a/yt_dlp/extractor/weverse.py\n+++ b/yt_dlp/extractor/weverse.py\n@@ -45,10 +45,10 @@ def _perform_login(self, username, password):\n 'x-acc-trace-id': str(uuid.uuid4()),\n 'x-clog-user-device-id': str(uuid.uuid4()),\n }\n- check_username = self._download_json(\n- f'{self._ACCOUNT_API_BASE}/signup/email/status', None,\n- note='Checking username', query={'email': username}, headers=headers)\n- if not check_username.get('hasPassword'):\n+ valid_username = traverse_obj(self._download_json(\n+ f'{self._ACCOUNT_API_BASE}/signup/email/status', None, note='Checking username',\n+ query={'email': username}, headers=headers, expected_status=(400, 404)), 'hasPassword')\n+ if not valid_username:\n raise ExtractorError('Invalid username provided', expected=True)\n \n headers['content-type'] = 'application/json'\ndiff --git a/yt_dlp/extractor/youtube.py b/yt_dlp/extractor/youtube.py\nindex ac28ed7d2..ddbd614d6 100644\n--- a/yt_dlp/extractor/youtube.py\n+++ b/yt_dlp/extractor/youtube.py\n@@ -3619,7 +3619,7 @@ def _extract_player_response(self, client, video_id, master_ytcfg, player_ytcfg,\n \n def _get_requested_clients(self, url, smuggled_data):\n requested_clients = []\n- default = ['ios', 'android', 'web']\n+ default = ['android', 'web', 'ios']\n allowed_clients = sorted(\n (client for client in INNERTUBE_CLIENTS.keys() if client[:1] != '_'),\n key=lambda client: INNERTUBE_CLIENTS[client]['priority'], reverse=True)\n@@ -4560,6 +4560,14 @@ def process_language(container, base_url, lang_code, sub_name, query):\n self._parse_time_text(self._get_text(vpir, 'dateText'))) or upload_date\n info['upload_date'] = upload_date\n \n+ if upload_date and live_status not in ('is_live', 'post_live', 'is_upcoming'):\n+ # Newly uploaded videos' HLS formats are potentially problematic and need to be checked\n+ upload_datetime = datetime_from_str(upload_date).replace(tzinfo=datetime.timezone.utc)\n+ if upload_datetime >= datetime_from_str('today-1day'):\n+ for fmt in info['formats']:\n+ if fmt.get('protocol') == 'm3u8_native':\n+ fmt['__needs_testing'] = True\n+\n for s_k, d_k in [('artist', 'creator'), ('track', 'alt_title')]:\n v = info.get(s_k)\n if v:\n", "difficulty": "1"}