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.
No url_encoded_fmt_stream_map in iPhone response #1500
Comments
|
youtube-dl should work the same no matter the platform. Can you post the entire output of it, including |
|
I think it is related to #1459. Yooutube serves a different page if it's a mobile device, the most important difference is that it doesn't include the ytplayer.config. I tried to change the user agent header, with no success. Did anyone got youtube-dl working on a mobile device? |
|
youtube-dl does not change its behavior when it's running on a mobile device, and there's no way for YouTube to detect that you're running it on a mobile device. It's working perfectly fine on my android device (with SL4A) . Again, pleast post the output of youtube-dl when called with |
|
Oh, and it is most definitely not related to #1459, since that issue was 1. on Windows and 2. the reporter explicitly passed in a |
|
Allright, so after some more testing I figured out it had to do with the connection type. On WiFi, it works fine. On 3G, I get download errors. Since I have programmed parts of youtube-dl iOS, I could not get the comment code out. So I created a 3G connection with my laptop through a hotspot with a German cell phone (while sitting in the Netherlands). Here's the output I received (again, it worked without problems on WiFi). From the output, it seems obvious what is going on.. But can't we emulate a different location? [debug] System config: [] |
|
This is working fine. You can always use a proxy server (either as a VPN or by specifying the |
When calling to http://www.youtube.com/watch?v, I get a html response including the url_encoded_fmt_stream_map on the iPad. Calling it on the iPhone gives me a similar response, but simply doesn't include the url_encoded_fmt_stream_map ...
Parsing the url_encoded_fmt_stream_map and decoding it subsequently works fine on the iPad, but I have nothing to work with on the iPhone..