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

[MailRu] Missing url schema #8991

Closed
kotofond opened this issue Mar 26, 2016 · 0 comments
Closed

[MailRu] Missing url schema #8991

kotofond opened this issue Mar 26, 2016 · 0 comments

Comments

@kotofond
Copy link
Contributor

@kotofond kotofond commented Mar 26, 2016

Youtube-dl reports video url with a missing protocol schema for http://my.mail.ru/mail/3sktvtr/video/_myvideo/138.html

C:\WINDOWS\system32>youtube-dl --verbose --get-url http://my.mail.ru/mail/3sktvtr/video/_myvideo/138.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '--get-url', 'http://my.mail.ru/mail/3sktvtr/video/_myvideo/138.html']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2016.03.26
[debug] Python version 3.5.1 - Windows-10-10.0.10586-SP0
[debug] exe versions: ffmpeg N-78358-g674cc26, ffprobe N-78358-g674cc26
[debug] Proxy map: {}
//cdn42.my.mail.ru/v/54607901.mp4?slave[]=s%3Ahttp%3A%2F%2F127.0.0.1%3A5010%2F54607901-v.mp4&p=f&expire_at=1459011600&touch=1433000275&reg=217&sign=a157fc91182a82aae1a27731c1f10fda487fe1a0

I believe it should be 'http'. I use youtube-dl in my python code and this url is not recognised by 'requests' module. Also

info = ydl.extract_info('http://my.mail.ru/mail/3sktvtr/video/_myvideo/138.html', download=False)

gives me info.formats[0].protocol as an empty string

Could you fix this please?

Thanks in advance

@dstftw dstftw closed this in dcf77cf Mar 26, 2016
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
1 participant
You can’t perform that action at this time.