Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Site Request: nos.nl. #4295

Open
GijsTimmers opened this issue Nov 24, 2014 · 8 comments
Open

Site Request: nos.nl. #4295

GijsTimmers opened this issue Nov 24, 2014 · 8 comments

Comments

@GijsTimmers
Copy link

@GijsTimmers GijsTimmers commented Nov 24, 2014

For example, this url contains one video on the right-hand side of the screen. It would be nice if youtube-dl would notice that, and subsequently download the video.

Thank you.

@Reino17
Copy link

@Reino17 Reino17 commented Nov 24, 2014

The actual url of the video is http://nos.nl/video/2005422-rutte-over-navo.html (hover over the videocontainer to see this url).

Web-source of that url (line 30):

    ><source src="http://download.omroep.nl/nos/content/video/2014/11/24/20798/vod01.mp4" ty
pe="180p" data-label="Laag - 180p"  /><source src="http://download.omroep.nl/nos/content/vid
eo/2014/11/24/20798/web03.mp4" type="288p" data-label="Normaal - 288p"  />...

A low- and a 'high' quality video are available.
When fed to youtube-dl, it only detects the low quality video:

youtube-dl.exe -F http://nos.nl/video/2005422-rutte-over-navo.html
[generic] 2005422-rutte-over-navo: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 2005422-rutte-over-navo: Downloading webpage
[generic] 2005422-rutte-over-navo: Extracting information
[info] Available formats for vod01:
format code extension resolution  note
0           mp4       unknown

So in this case having a look at the source is quicker. The webconsole (Firefox) also detects both videos.
Another option is the Firefox add-on Video DownloadHelper (recommended!). When you start the video, just like the webconsole, it detects both videos which you can then download or copy the url.

@rrooij
Copy link
Contributor

@rrooij rrooij commented Feb 9, 2015

Works fine here.

youtube-dl 'http://nos.nl/video/2005422-rutte-over-
[generic] 2005422-rutte-over-navo: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 2005422-rutte-over-navo: Downloading webpage
[generic] 2005422-rutte-over-navo: Extracting information
[download] Destination: Rutte over NAVO _ NOS-vod01.mp4
[download] 100% of 2.95MiB in 00:01
@GijsTimmers
Copy link
Author

@GijsTimmers GijsTimmers commented Feb 10, 2015

Really?

$ youtube-dl --version
2015.02.10.4
$ youtube-dl http://nos.nl/artikel/2005405-rutte-meer-openheid-financi-n-navo.html
[generic] 2005405-rutte-meer-openheid-financi-n-navo: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 2005405-rutte-meer-openheid-financi-n-navo: Downloading webpage
[generic] 2005405-rutte-meer-openheid-financi-n-navo: Extracting information
ERROR: Unsupported URL: http://nos.nl/artikel/2005405-rutte-meer-openheid-financi-n-navo.html
@Reino17
Copy link

@Reino17 Reino17 commented Feb 10, 2015

Seems you completely missed/ignored my post.
The url you're using links to the article, not the 2 videos:
http://nos.nl/video/2005422-rutte-over-navo.html
http://nos.nl/video/2005513-titel.html

@GijsTimmers
Copy link
Author

@GijsTimmers GijsTimmers commented Feb 11, 2015

Oops, yes, you're right. Thank you.

@phihag
Copy link
Contributor

@phihag phihag commented Feb 11, 2015

Reopening, we should support articles as well.

@phihag phihag reopened this Feb 11, 2015
@barbeque-squared
Copy link

@barbeque-squared barbeque-squared commented Dec 26, 2018

This domain has more urls that have videos:
https://nos.nl/uitzending/38485-nos-studio-sport-eredivisie.html
although that serves (I think) the same video as https://www.npostart.nl/nos-studio-sport-eredivisie/23-12-2018/POW_04034416 (which does work and gets downloaded in a good quality)

I'm not sure how to go from the first one to the second one programmaticaly (I clicked the "Meer uitzendingen op NPO Start" link, searched for "eredivisie" which gives, among other things, https://www.npostart.nl/nos-studio-sport-eredivisie/NOSSportEredivisie on which there's "Afleveringen" and that's where the video is)

The NOS links are (at least for me) ranked higher in Google than the NPOStart ones. The NOS ones also just take less clicks to get what I need. If it's doable to do the redirect from within youtube-dl, great; otherwise I'll just have to remember to get it from npostart instead.

@Reino17
Copy link

@Reino17 Reino17 commented Dec 26, 2018

The broadcast is the same, but the videos them selves are not.
Eventhough format code 0 of https://nos.nl/uitzending/38485-nos-studio-sport-eredivisie.html has a resolution of 1280x720, it's of much lower quality than format code hls-2108 of https://www.npostart.nl/nos-studio-sport-eredivisie/23-12-2018/POW_04034416 with a resolution of 1024x576.
So I would always advice you to prefer the videos from npostart.nl.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants
You can’t perform that action at this time.