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.
Get URL but play it on a different device/computer #2595
Comments
|
Faking an IP address is generally a network attack and therefore not an option for your scenario. You can get the video URL with the However, some video services require the final request to come from the same IP address. Why don't you just run youtube-dl on the mobile device itself? |
|
@phihag I did not know I can run youtube-dl on iOS. That would be so helpful so awesome if youtube-dl could run on mobile phone/iOS. Can I? Can you advice me of ways to do that? |
|
I don't own any iOS devices (and I don't know of any open-source emulator), so I cannot say much about developing for iOS. However, Python should run fine on a modern smartphone, a quick google search turns up http://pythonforios.com/ , which even implements a Python IDE. For what it's worth, running on Android is trivial once you've got a Python interpreter set up, see for example #967. |
|
@phihag looks like for Python to run on iOS, the device needs to be jailbroken, there is no way around that... and also that will require all users who download my app to have Python installed... Can you guys advice me how to get youtube signature properly deciphered? Currently I grab the html5player javascript file and extract these two functions: function fE(a){a=a.split("");a=a.slice(2);a=a.reverse();a=gE(a,39);a=gE(a,43);return a.join("")} Then pass the signature from url and get the new one. It works for many videos but not for videos that have label VEVO and actually for many others this approach does not help. Do you get proper signature another way? |
|
The software I linked is available in the official Apple appstore, and therefore does not need a jailbroken phone. Additionally, iOS allows native code, and the cPython interpreter is native code. You can simply include the whole interpreter, just like our exe download. We cannot advice you how to get YouTube signatures properly deciphered, since this is a bug tracker about youtube-dl and youtube-dl only. |
Hi guys!
It looks like youtube-dl can extract video urls but they can play only on a computer that issued the request. I cannot take extracted URL and play it on a computer with different ip address.
I need to extract video URL and play it on a Mobile Phone. Is there a way I can fake IP address with youtube-dl?
Is it possible?