{"action":"created","issue":{"url":"https://api.github.com/repos/rg3/youtube-dl/issues/16835","repository_url":"https://api.github.com/repos/rg3/youtube-dl","labels_url":"https://api.github.com/repos/rg3/youtube-dl/issues/16835/labels{/name}","comments_url":"https://api.github.com/repos/rg3/youtube-dl/issues/16835/comments","events_url":"https://api.github.com/repos/rg3/youtube-dl/issues/16835/events","html_url":"https://github.com/rg3/youtube-dl/issues/16835","id":336318331,"node_id":"MDU6SXNzdWUzMzYzMTgzMzE=","number":16835,"title":"Unsupported URL trying to download from BBC site *.bbcconnectedstudio.co.uk","user":{"login":"MobyGamer","id":2023453,"node_id":"MDQ6VXNlcjIwMjM0NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/2023453?v=4","gravatar_id":"","url":"https://api.github.com/users/MobyGamer","html_url":"https://github.com/MobyGamer","followers_url":"https://api.github.com/users/MobyGamer/followers","following_url":"https://api.github.com/users/MobyGamer/following{/other_user}","gists_url":"https://api.github.com/users/MobyGamer/gists{/gist_id}","starred_url":"https://api.github.com/users/MobyGamer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MobyGamer/subscriptions","organizations_url":"https://api.github.com/users/MobyGamer/orgs","repos_url":"https://api.github.com/users/MobyGamer/repos","events_url":"https://api.github.com/users/MobyGamer/events{/privacy}","received_events_url":"https://api.github.com/users/MobyGamer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-06-27T17:19:04Z","updated_at":"2018-08-17T00:10:43Z","closed_at":null,"author_association":"NONE","body":"### What is the purpose of your *issue*?\r\n- [x] Site support request (request for adding support for a new site)\r\n\r\n---\r\n\r\nThis is a site request.  The BBC has released all of their computing history television programs at https://computer-literacy-project.pilots.bbcconnectedstudio.co.uk/programmes but none of the playlist pages, nor the individual videos, are able to be grabbed with youtube-dl 2018.06.25.  The error for all attempts is \"Unsupported URL\".  The website is not geolocation-restricted (site is in the UK, I'm in the USA, video plays in the browser just fine).\r\n\r\nSample URLs:\r\n\r\nMain page: https://computer-literacy-project.pilots.bbcconnectedstudio.co.uk/programmes\r\n\r\nShow/playlist page for \"The Silicon Factor\": https://computer-literacy-project.pilots.bbcconnectedstudio.co.uk/a1293cad8666ac0cddec7bf5530c4f30\r\n\r\nIndividual show page (The Silicon Factor, \"1. So What's It All about? BBC 2 Series 1 Episode 1\") which plays a video perfectly in a browser: https://computer-literacy-project.pilots.bbcconnectedstudio.co.uk/2264a5e86a4aa2e8b36ed6acee9f6462\r\n\r\nAn attempt at the individual show page above results in:\r\n\r\ne:\\>youtube-dl -v https://computer-literacy-project.pilots.bbcconnectedstudio.co.uk/2264a5e86a4aa2e8b36ed6acee9f6462\r\n[debug] System config: []\r\n[debug] User config: []\r\n[debug] Custom config: []\r\n[debug] Command-line args: ['-v', 'https://computer-literacy-project.pilots.bbcconnectedstudio.co.uk/2264a5e86a4aa2e8b36ed6acee9f6462']\r\n[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252\r\n[debug] youtube-dl version 2018.06.25\r\n[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134\r\n[debug] exe versions: ffmpeg N-89931-g42323c3e3a, ffprobe N-83280-gcba4f0e\r\n[debug] Proxy map: {}\r\n[generic] 2264a5e86a4aa2e8b36ed6acee9f6462: Requesting header\r\nWARNING: Falling back on generic information extractor.\r\n[generic] 2264a5e86a4aa2e8b36ed6acee9f6462: Downloading webpage\r\n[generic] 2264a5e86a4aa2e8b36ed6acee9f6462: Extracting information\r\n[generic] 2264a5e86a4aa2e8b36ed6acee9f6462: Requesting header\r\nWARNING: Falling back on generic information extractor.\r\n[generic] 2264a5e86a4aa2e8b36ed6acee9f6462: Downloading webpage\r\n[generic] 2264a5e86a4aa2e8b36ed6acee9f6462: Extracting information\r\nERROR: Unsupported URL: https://computer-literacy-project.pilots.bbcconnectedstudio.co.uk/embed/2264a5e86a4aa2e8b36ed6acee9f6462\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\dst\\AppData\\Roaming\\Build archive\\youtube-dl\\rg3\\tmpkc931nsv\\build\\youtube_dl\\YoutubeDL.py\", line 792, in extract_info\r\n  File \"C:\\Users\\dst\\AppData\\Roaming\\Build archive\\youtube-dl\\rg3\\tmpkc931nsv\\build\\youtube_dl\\extractor\\common.py\", line 501, in extract\r\n  File \"C:\\Users\\dst\\AppData\\Roaming\\Build archive\\youtube-dl\\rg3\\tmpkc931nsv\\build\\youtube_dl\\extractor\\generic.py\", line 3269, in _real_extract\r\nyoutube_dl.utils.UnsupportedError: Unsupported URL: https://computer-literacy-project.pilots.bbcconnectedstudio.co.uk/embed/2264a5e86a4aa2e8b36ed6acee9f6462\r\n\r\nAlso, not to put any pressure on anyone, but according to the BBC's \"taster\" program, these videos will only be available for 3 months, so getting a fix for this before September 27th 2018 would be humbly appreciated."},"comment":{"url":"https://api.github.com/repos/rg3/youtube-dl/issues/comments/413720471","html_url":"https://github.com/rg3/youtube-dl/issues/16835#issuecomment-413720471","issue_url":"https://api.github.com/repos/rg3/youtube-dl/issues/16835","id":413720471,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzcyMDQ3MQ==","user":{"login":"RavenRabbit","id":40337087,"node_id":"MDQ6VXNlcjQwMzM3MDg3","avatar_url":"https://avatars1.githubusercontent.com/u/40337087?v=4","gravatar_id":"","url":"https://api.github.com/users/RavenRabbit","html_url":"https://github.com/RavenRabbit","followers_url":"https://api.github.com/users/RavenRabbit/followers","following_url":"https://api.github.com/users/RavenRabbit/following{/other_user}","gists_url":"https://api.github.com/users/RavenRabbit/gists{/gist_id}","starred_url":"https://api.github.com/users/RavenRabbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RavenRabbit/subscriptions","organizations_url":"https://api.github.com/users/RavenRabbit/orgs","repos_url":"https://api.github.com/users/RavenRabbit/repos","events_url":"https://api.github.com/users/RavenRabbit/events{/privacy}","received_events_url":"https://api.github.com/users/RavenRabbit/received_events","type":"User","site_admin":false},"created_at":"2018-08-17T00:10:43Z","updated_at":"2018-08-17T00:10:43Z","author_association":"NONE","body":"I did some more testing with the parameters and noticed that in some cases I got a warning during the download reading ``. By supplying `--fixup detect_or_warn` that got fixed and the videos got a few seconds longer. The shorter videos files also seemed to have issues when skipping to a certain location. In case of the audiofiles I noticed the file getting a lot longer. However, with the short tracks the playback continued at the \"end\".\r\n\r\nI'm not sure which parameters are the best (and this results in only 4 unique files, because some combinations result in the exact same file)\r\n\r\n```\r\nyoutube-dl --console-title \"https://computer-literacy-project.pilots.bbcconnectedstudio.co.uk/asset/video/53007070caed58649b2eaec53e441326/index.m3u8\" --hls-prefer-ffmpeg --no-part --fixup warn --prefer-ffmpeg --merge-output-format mkv -o \"Timeshift S1E1 - Dial \"B\" for Britain- The Story of The Landline_ffmpeg_NO_mpegts_warn.mkv\"\r\n\r\nyoutube-dl --console-title \"https://computer-literacy-project.pilots.bbcconnectedstudio.co.uk/asset/video/53007070caed58649b2eaec53e441326/index.m3u8\" --hls-prefer-ffmpeg --no-part --fixup detect_or_warn --prefer-ffmpeg --merge-output-format mkv -o \"Timeshift S1E1 - Dial \"B\" for Britain- The Story of The Landline_ffmpeg_NO_mpegts_detect.mkv\"\r\n\r\nyoutube-dl --console-title \"https://computer-literacy-project.pilots.bbcconnectedstudio.co.uk/asset/video/53007070caed58649b2eaec53e441326/index.m3u8\" --hls-prefer-native --hls-use-mpegts --no-part --fixup detect_or_warn --prefer-ffmpeg --merge-output-format mkv -o \"Timeshift S1E1 - Dial \"B\" for Britain- The Story of The Landline_native_mpegts_detect.mkv\"\r\n\r\nyoutube-dl --console-title \"https://computer-literacy-project.pilots.bbcconnectedstudio.co.uk/asset/video/53007070caed58649b2eaec53e441326/index.m3u8\" --hls-prefer-native --no-part --fixup detect_or_warn --prefer-ffmpeg --merge-output-format mkv -o \"Timeshift S1E1 - Dial \"B\" for Britain- The Story of The Landline_native_NO_mpegts_detect.mkv\"\r\n\r\n# shorter results:\r\nyoutube-dl --console-title \"https://computer-literacy-project.pilots.bbcconnectedstudio.co.uk/asset/video/53007070caed58649b2eaec53e441326/index.m3u8\" --hls-prefer-ffmpeg --hls-use-mpegts --no-part --fixup detect_or_warn --prefer-ffmpeg --merge-output-format mkv -o \"Timeshift S1E1 - Dial \"B\" for Britain- The Story of The Landline_ffmpeg_mpegts_detect.mkv\"\r\n\r\nyoutube-dl --console-title \"https://computer-literacy-project.pilots.bbcconnectedstudio.co.uk/asset/video/53007070caed58649b2eaec53e441326/index.m3u8\" --hls-prefer-ffmpeg --hls-use-mpegts --no-part --fixup warn --prefer-ffmpeg --merge-output-format mkv -o \"Timeshift S1E1 - Dial \"B\" for Britain- The Story of The Landline_ffmpeg_mpegts_warn.mkv\"\r\n\r\nyoutube-dl --console-title \"https://computer-literacy-project.pilots.bbcconnectedstudio.co.uk/asset/video/53007070caed58649b2eaec53e441326/index.m3u8\" --hls-prefer-native --hls-use-mpegts --no-part --fixup warn --prefer-ffmpeg --merge-output-format mkv -o \"Timeshift S1E1 - Dial \"B\" for Britain- The Story of The Landline_native_mpegts_warn.mkv\"\r\n\r\nyoutube-dl --console-title \"https://computer-literacy-project.pilots.bbcconnectedstudio.co.uk/asset/video/53007070caed58649b2eaec53e441326/index.m3u8\" --hls-prefer-native --no-part --fixup warn --prefer-ffmpeg --merge-output-format mkv -o \"Timeshift S1E1 - Dial \"B\" for Britain- The Story of The Landline_native_NO_mpegts_warn.mkv\"\r\n```\r\n\r\nAt the moment I'm tempted to go for the  `--hls-prefer-ffmpeg --no-part --fixup warn --prefer-ffmpeg --merge-output-format mkv -o `\r\nBut I'm not quite sure which one's the best..."}}
{"actor":{"display_login":"RavenRabbit"}}