{
  "appeals": 1,
  "budgets": {
    "baseline_limit_s": 600,
    "verification_timeout_s": 600,
    "worker": {
      "max_completion_tokens": 96000,
      "max_turns": 60,
      "max_wall_seconds": 1500.0,
      "prompt_token_budget": 160000
    }
  },
  "issue": "\"Unable to extract player;\" error on certain OKRU videos (Odnoklassniki)\n### Checklist\n\n- [x] I'm reporting that yt-dlp is broken on a **supported** site\n- [x] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels))\n- [x] I've checked that all provided URLs are playable in a browser with the same IP and same login details\n- [x] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/yt-dlp/yt-dlp/wiki/FAQ#video-url-contains-an-ampersand--and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command)\n- [x] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766), [the FAQ](https://github.com/yt-dlp/yt-dlp/wiki/FAQ), and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=is%3Aissue%20-label%3Aspam%20%20) for similar issues **including closed ones**. DO NOT post duplicates\n- [x] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required\n\n### Region\n\nAustralia\n\n### Provide a description that is worded well enough to be understood\n\nSome OKRU videos produce this error, while others behave normally. Here are URLs which fail to download and give the error reported in the post title:\n\nhttps://ok.ru/video/10003120720431\nhttps://ok.ru/video/10003121244719\nhttps://ok.ru/video/10002989648431\nhttps://ok.ru/video/10009477122607\nhttps://ok.ru/video/10009477319215\n\nHere is one that works fine (most seem ok):\n\nhttps://ok.ru/video/10029569477167\n\n\n### Provide verbose output that clearly demonstrates the problem\n\n- [x] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)\n- [x] If using API, add `'verbose': True` to `YoutubeDL` params instead\n- [x] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below\n\n### Complete Verbose Output\n\n```shell\n[debug] Command-line config: ['https://ok.ru/video/10009477122607', '-vU']\n[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8\n[debug] yt-dlp version nightly@2025.05.30.233011 from yt-dlp/yt-dlp-nightly-builds [3fe72e9ee] (zip)\n[debug] Python 3.9.6 (CPython x86_64 64bit) - macOS-10.16-x86_64-i386-64bit (OpenSSL 1.1.1k  25 Mar 2021)\n[debug] exe versions: ffmpeg 4.4-tessus (setts), ffprobe 4.4-tessus, rtmpdump 2.4\n[debug] Optional libraries: Cryptodome-3.17, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-3.35.5, websockets-10.4 (unsupported)\n[debug] Proxy map: {}\n[debug] Request Handlers: urllib\n[debug] Plugin directories: none\n[debug] Loaded 1860 extractors\n[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest\nLatest version: nightly@2025.05.30.233011 from yt-dlp/yt-dlp-nightly-builds\nyt-dlp is up to date (nightly@2025.05.30.233011 from yt-dlp/yt-dlp-nightly-builds)\n[Odnoklassniki] Extracting URL: https://ok.ru/video/10009477122607\n[Odnoklassniki] 10009477122607: Downloading desktop webpage\n[Odnoklassniki] 10009477122607: Downloading mobile webpage\nERROR: [Odnoklassniki] 10009477122607: Unable to extract player; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U\n  File \"/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py\", line 748, in extract\n    ie_result = self._real_extract(url)\n  File \"/usr/local/bin/yt-dlp/yt_dlp/extractor/odnoklassniki.py\", line 252, in _real_extract\n    raise e\n  File \"/usr/local/bin/yt-dlp/yt_dlp/extractor/odnoklassniki.py\", line 246, in _real_extract\n    return self._extract_desktop(url)\n  File \"/usr/local/bin/yt-dlp/yt_dlp/extractor/odnoklassniki.py\", line 278, in _extract_desktop\n    unescapeHTML(self._search_regex(\n  File \"/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py\", line 1339, in _search_regex\n    raise RegexNotFoundError(f'Unable to extract {_name}')\n```",
  "source": {
    "image": "docker.io/swerebenchv2/yt-dlp-yt-dlp:13361-3fe72e9",
    "platform": "linux/amd64",
    "python": "python",
    "setup": [
      "python -c 'import base64; from pathlib import Path; Path('\"'\"'/tmp/receipts-yt-dlp__yt-dlp-13361-test.patch'\"'\"').write_bytes(base64.b64decode('\"'\"'ZGlmZiAtLWdpdCBhL3Rlc3QvdGVzdF9JbmZvRXh0cmFjdG9yLnB5IGIvdGVzdC90ZXN0X0luZm9FeHRyYWN0b3IucHkKaW5kZXggYzZmZjYyMDlhLi5iYzg5YjI5NTUgMTAwNjQ0Ci0tLSBhL3Rlc3QvdGVzdF9JbmZvRXh0cmFjdG9yLnB5CisrKyBiL3Rlc3QvdGVzdF9JbmZvRXh0cmFjdG9yLnB5CkBAIC0zMTQsNiArMzE0LDIwIEBAIGRlZiB0ZXN0X3NlYXJjaF9qc29uX2xkX3JlYWx3b3JsZChzZWxmKToKICAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgIHt9LAogICAgICAgICAgICAgKSwKKyAgICAgICAgICAgICgKKyAgICAgICAgICAgICAgICAjIHRlc3QgdGh1bWJuYWlsX3VybCBrZXkgd2l0aG91dCBVUkwgc2NoZW1lCisgICAgICAgICAgICAgICAgcicnJworPHNjcmlwdCB0eXBlPSJhcHBsaWNhdGlvbi9sZCtqc29uIj4KK3sKKyJAY29udGV4dCI6ICJodHRwczovL3NjaGVtYS5vcmciLAorIkB0eXBlIjogIlZpZGVvT2JqZWN0IiwKKyJ0aHVtYm5haWxfdXJsIjogIi8vd3d3Lm5vYmVscHJpemUub3JnL2ltYWdlcy8xMjY5My1sYW5kc2NhcGUtbWVkaXVtLWdhbGxlcnkuanBnIgorfTwvc2NyaXB0PicnJywKKyAgICAgICAgICAgICAgICB7CisgICAgICAgICAgICAgICAgICAgICd0aHVtYm5haWxzJzogW3sndXJsJzogJ2h0dHBzOi8vd3d3Lm5vYmVscHJpemUub3JnL2ltYWdlcy8xMjY5My1sYW5kc2NhcGUtbWVkaXVtLWdhbGxlcnkuanBnJ31dLAorICAgICAgICAgICAgICAgIH0sCisgICAgICAgICAgICAgICAge30sCisgICAgICAgICAgICApLAogICAgICAgICBdCiAgICAgICAgIGZvciBodG1sLCBleHBlY3RlZF9kaWN0LCBzZWFyY2hfanNvbl9sZF9rd2FyZ3MgaW4gX1RFU1RTOgogICAgICAgICAgICAgZXhwZWN0X2RpY3QoCg=='\"'\"'))'",
      "git apply /tmp/receipts-yt-dlp__yt-dlp-13361-test.patch"
    ],
    "workdir": "/yt-dlp"
  },
  "spec_paths": [
    "test/test_InfoExtractor.py"
  ],
  "spec_tests": [
    "test/test_InfoExtractor.py::TestInfoExtractor::test_search_json_ld_realworld"
  ],
  "suite_scope": "--no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning test/test_InfoExtractor.py"
}
