Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Hi,
What is the purpose of your issue?
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the
-vflag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):drtv.pyfetches wrong video whenVisuallyImpairedvideos are availableWhen a visually interpreted version of a
dr.dk/tv/drtv.pyvideo is available, it is selected by default byyoutube-dl. I think the fix is as simple as addingVisuallyImpairedto non-preferredasset_targets (see below),Example: https://www.dr.dk/tv/se/kroeniken/kroeniken-dr1/kroeniken-2-22/
(It should work from non-danish IPs)
Try
mpv https://www.dr.dk/tv/se/kroeniken/kroeniken-dr1/kroeniken-2-22/, at 0:07 a narrator explains what is happening. The version thatyoutube-dlis playing back is https://www.dr.dk/tv/se/kroeniken/kroeniken-dr1/kroeniken-2-22/VisuallyInterpreted$ youtube-dl -g https://www.dr.dk/tv/se/kroeniken/kroeniken-dr1/kroeniken-2-22/ https://drod08b-vh.akamaihd.net/i/all/clear/streaming/88/5c45e86c6187a51250a0de88/Kroeniken--2-22-_0590cce4971d48788014f12e63ac480c_,271,417,730,1497,2355,3983,.mp4.csmil/index_5_av.m3u8?null=0Using the Firefox Networks tab, the
defaultversion is something like thisI think the following one-line patch is sufficient to prefer the
defaultvideo over theVisuallyImpairedone (I can make a pull request if preferred, but it's just adding one word):Thanks,
Rasmus