ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
131.93k stars 10.01k forks source link

_VERY IMPORTANT SITE REQUEST, today only!!! : VYBORY.MOS.RU #10692

Closed nmr50 closed 8 years ago

nmr50 commented 8 years ago

Hello everyone! Now I want you to take precise and rapid attention and make YOUTUBE-DL compatible with one day working video feed site dedicated to Moscow Gosduma elections today:

http://vybory.mos.ru/#precinct/13636

To those ppl in team who can read Russian, please follow this URL which explains how to operate with those chunks in that feed here, the info actual for 2013: https://habrahabr.ru/post/192590/

AND this url, actual for 2012: https://geektimes.ru/post/139292/

Both of those URLs explaining not only how to take current feed, but how to take period (how many minutes/hours) and time (when video was taken) of this video feed.

I'll be VERY grateful if someone will pay attention on this issue and make such great addon to YOUTUBEL-DL before/upto 14:00-15:00 MSK (UTC+03/GMT+03).

yan12125 commented 8 years ago

The two videos can be downloaded with the following two commands: (With ffmpeg installed)

youtube-dl -v --hls-use-mpegts -o "camera1.%(ext)s" "http://188.254.112.20/master.m3u8?sid=921dab20-6569-11e6-b736-002590718f7e"
youtube-dl -v --hls-use-mpegts -o "camera2.%(ext)s" "http://188.254.112.50/master.m3u8?sid=921dde2e-6569-11e6-b736-002590718f7e"
nmr50 commented 8 years ago

yan12125: VERY NICE OF YOU to show Your KNOWLEDGE, THANKS !!!:)

Now I have another Q that is not closely related to YOUTUBE-DL but - please answer!: I stuck in one process - getting list of all cameras and then add tokens (sid=) for them. If YOUTUBE-DL can get feed without problems "from scratch", and it does! - can someone explain to me how to 1) get all cameras list in batch mode AND get all tokens related to those cameras - the same like you got tokens for the 1st posted cameras ?

Thank in advance !

yan12125 commented 8 years ago

I got these URLs by capturing network traffic in Firefox. You may also want to have a look at the newly added extractor in 14ae11efab64baf4994688490474609554c1bf80.

nmr50 commented 8 years ago

Yep, I've looked at 14ae11e and found that YOUTUBE-DL will now know only one place with two cameras, related to one voting place. Yan12125, what about adding very nice feature to get list of ALL cameras, with addresses, and URLs with tokens, the same it works for video formats from one place-F ? Example: yotube-dl -F http://vybory.mos.ru/json/id_search > cameras.list.urls where 1st field will be token and 2nd field will be voting place address ? Or even more - to generate complete URL with youtube-dl like you did - with token - at 1st field, the second will be voting place address ?

This one is not rapid to be added, of course, but - can it be done ?:) THANKS in advance!:)

dstftw commented 8 years ago

That's out of scope of youtube-dl.

nmr50 commented 8 years ago

But this option is a close mirror of -F because it lists all available addresses with tokens like -F lists all available formats from one place.. why not ?:/

yan12125 commented 8 years ago

First you need a list of all voting places. youtube-dl can't imagine it from nowhere.

nmr50 commented 8 years ago

yan12125: I pulled this question to the pal of mine, so I hope I'll get this voting places scanner soon. One Q is left: please tell me, what exact name of network capture plugin for FF you've used to get that SID, whole url ? Thanks in advance! Btw, I've updated YOUTUBE-DL to the latest version, I've tried to get video - ok, but when I press ctrl+c, no video player can play that .mp3.part video. Yet, when I am trying to press "Q" - to quit - nothing happens.. Can you ppl trace this thingie ? Thanks!

dstftw commented 8 years ago

Ctrl+Shift+Q. No plugin is needed.