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.
SVT news not working #22897
SVT news not working #22897
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
|
After the described change, there are 0 formats to select from, although obviously there is video on their pages.
Same page as described above, with youtube-dl updated just before the "-v -F" run. |
|
Here is a workaround as a bash function until this has been fixed:
Just give the function the URL of the page as argument. I am currently using this function and it works for me. |
|
Finally some progress on this. |
|
I know I'm late to the party, but does that function work for Windows too? I'm a complete noob when it comes to these kind of things and I could really use some help. |
|
The bash functions works if you have bash and the right programs installed (sed, curl, mpv, jq). If you don't know, you can just try it and see if it works. I would not expect it to work on a clean install of any operating system, especially not Windows. |
|
Well, it doesn't have to be passed to mpv.
The "youtube-dl" on the last line can instead be "echo" to get a URL that works as input for youtube-dl, in case you want to do more things first, like choose format to download. Verified working both in cygwin and in "Windows Subsystem for Linux" Kali as long as the listed software requirements are installed. |
|
I'll give that a try. Thanks so much for the help guys! |
Checklist
Verbose log
Description
SVT news videos have recently stopped working.
Example that doesn't work: https://www.svt.se/nyheter/lokalt/norrbotten/komplicerat-att-stanga-mr-kameran
The video that should be played can be found in this JSON file: https://api.svt.se/videoplayer-api/video/24256474
The id 4256474 can be found in the source of the page.
Here is an example with multiple videos on one page: https://www.svt.se/nyheter/utrikes/svenska-andrea-ar-en-mil-fran-branderna-i-kalifornien
The video ids are 24244546 and 24246318.