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

itag 22 is missing in some videos but savefrom.net gives download links for itag 22 #17842

Closed
Kumuduweerasinghe opened this issue Oct 9, 2018 · 4 comments

Comments

@Kumuduweerasinghe
Copy link

@Kumuduweerasinghe Kumuduweerasinghe commented Oct 9, 2018

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.10.05. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2018.10.05

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to 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 -v flag 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 ```):

[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2018.10.05
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.


Description of your issue, suggested solution and other information

Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.

This is a vevo video https://www.youtube.com/watch?v=XCQK6LmhYqc. savefrom.net gives itag 22 to download all the time. But when I try to download it from youtube-dl, it only gives me best format 18. Why is that? am I missing some thing.

  1. here we don't have itag=22 available
    image

  2. savefrom.net let us to download itag=22 (They do not convert )
    image

  3. savefrom.net provided url
    https://r3---sn-8qj-i5ozz.googlevideo.com/videoplayback?source=youtube&mt=1539046187&mv=u&pcm2cms=yes&fvip=3&ms=au%2Crdu&ip=123.30.210.215&lmt=1537538088592722&dur=190.333&itag=22&pl=24&ratebypass=yes&mime=video%2Fmp4&c=WEB&mm=31%2C29&mn=sn-8qj-i5ozz%2Csn-8qj-i5oed&ipbits=0&ei=jf-7W7Bej97hArWajvgL&id=o-AIazzD6oREr6h_LrjRxKK-VUfP47gpSo80hK0qAENNa6&key=yt6&txp=4531332&sparams=dur%2Cei%2Cid%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&requiressl=yes&expire=1539068909&signature=35ED9CB6D3BB39548BE01800C0D50200B6137600.35AEF34B8BDC5A67A554A2772D2E946BDCF5E91F&video_id=XCQK6LmhYqc&title=Rita+Ora+-+Let+You+Love+Me+%5BOfficial+Video%5D

&itag=22&pl=24

Q1. My quetion is 'how savefrom.net does it?'

Q2. Can youtube-dl get itag=22 for this video?

Q3. Where is the code segment does that magic?

@Kumuduweerasinghe
Copy link
Author

@Kumuduweerasinghe Kumuduweerasinghe commented Oct 9, 2018

Someone, please answer this question? how to do this?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 9, 2018

  1. Ask them how they do this.
  2. 22 is not listed by youtube for this video.
  3. See youtube extractor.
@dstftw dstftw closed this Oct 9, 2018
@Vangelis66
Copy link

@Vangelis66 Vangelis66 commented Oct 10, 2018

... Well, this seems to be a genuine bug in the way yt-dl parses all available itags on VEVO videos - or, perhaps, the youtube API does not properly divulge all itags to yt-dl...

Take, for instance, another VEVO video,

https://www.youtube.com/watch?v=Sc97AUImI04

youtube-dl -F "https://www.youtube.com/watch?v=Sc97AUImI04" | FindStr 720p =>

136          mp4        1280x720   720p 1513k , avc1.4d401f, 24fps, video only, 20.78MiB
247          webm       1280x720   720p 1523k , vp9, 24fps, video only, 24.94MiB

OTOH, and in accordance with OP, with the SaveFrom.net helper userscript installed (Basilisk 52, Violentmonkey v2.9.7) the standalone mp4 720p variant (aka itag=22) is quickly detected and downloadable:

yt-vevo

Perhaps itag=22 is still there on yt's CDNs, but no longer advertised to browsers/apps, so it might be that SF.net is force-requesting it? In any case, the URI to the userscript is

https://download.sf-helper.com/chrome/helper.user.js

For good measure, here it is zipped: helper.user.zip

Perhaps, when inspected by the yt-dl devs, it can be figured out

how they do this

So, IMHO, this issue report was prematurely closed...

In practical terms, one can always choose f 136+140 in yt-dl and (with FFmpeg installed) achieve similar results to (now missing) f 22 ...

Kind regards

@Vangelis66
Copy link

@Vangelis66 Vangelis66 commented Nov 14, 2018

I wrote:

Perhaps itag=22 is still there on yt's CDNs, but no longer advertised to browsers/apps,
so it might be that SF.net is force-requesting it?

... FWIW, as of around yesterday, Nov 13th 2018, even the latest version (7.94.2) of the SF.net userscript is UNABLE to detect the standalone 720p MP4 encode (itag=22) on VEVO music clips (like the one in my previous comment); it defaults to detecting the standalone 360p MP4 one (itag=18) 😠 ...

Either Youtube have managed to beat SF.net in their game, or they genuinely removed the itag=22 encodes from their servers (?); I lean on believing the first scenario, i.e. they simply successfully blocked every access to them 😞 ... Oh well, it was good for the whole month it lasted....

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
3 participants
You can’t perform that action at this time.