Closed ZhangKuixun closed 5 years ago
What commit you are looking for? My youtube-dl has the latest commit number: 2e1280ed432257244ea52a47efe6a7f0e226b897
I want to use the latest version of youtube-dl to compress and generate different versions of libraries, because youtube-dl updates the code in real time for different websites. Your YouTube-dl code is too old. I've always wanted to do your update, but I can't do your update. And you want an x86 version of so
This is I changed your clean-build-copy.sh. I use python3, I want use python of host, but I can't install pip and sh.
clean() {
echo "[INFO] Clean"
/Library/Frameworks/Python.framework/Versions/3.7/bin/python3 $p4a clean_builds
rm -rfv $distFolder
rm -rfv $PWD/build
echo "[INFO] Clean done"
}
build() {
echo "[INFO] Build [$1]"
/Library/Frameworks/Python.framework/Versions/3.7/bin/python3 $p4a clean_builds
rm -rfv $distFolder
/Library/Frameworks/Python.framework/Versions/3.7/bin/python3 $p4a apk --private $pythonApp --dist_name=$pythonAppDistName --package=$pythonAppPackageName --name=$pythonAppName --version=1 --ndk_dir $ndkDir --ndk_version r10e --requirements=android,pyopenssl,pycrypto,openssl,cloudpickle --android_api=27 --arch=$1 --java-build-tool gradle
copy_libs
copy_assets
echo "[INFO] Build [$1] done"
}
I'm using python 2.7.10 for build. May that will make difference for you. It's better to try.
I'm using this library constantly without any issues. So, my old youtube-dl code works perfectly fine for me (for a quite wide numbers of channels and videos). In general I'm planning update if video info extraction will not work as expected. Do you have any links that I could test?
I'm not able to build x86 arch as well. If that is a must for you, I recommend you to search for another library. Or try to get help from python-for-android team.
eg: https://www.youtube.com/watch?v=RHMm7-uuZZ0&app=desktop many url can't get video-url
Your url info:
And all links is working for me. For example #43 640x360 (medium) start playing in chrome:
I'm checking my code.
Have you build and install my android-youtube-dl apk? Have you tested sharing from youtube app to android-youtube-dl app?
error:
Traceback (most recent call last):
File "/Volumes/disk/youtube-dl/youtube_dl/main.py", line 19, in
Have you build and install my android-youtube-dl apk? Have you tested sharing from youtube app to android-youtube-dl app?
Yes, I download your android-youtube-dl android. I don't tested sharing from youtube app to android-youtube-dl app, but I test sharing form My app to android-youtube-dl app, It's going to crash, but I didn't read the log.
really many url can't get video-url. I just forgot a lot of websites.
https://www.dailymotion.com/video/x6xwk6y?playlist=x64re9_xid this url can't get video-url
Sorry, I'm not interesting in dailymotion. You could find yourself what is wrong and create pull request with a fix.
do you have Email or WeChat, It's very inconvenient for call you.
Hello @ZhangKuixun It's important to use NDK r16b. I've added set up instruction to my build script.
Updated to release 2019.01.23: 7cbfd98516c2632984c60f785d437d0f10e76841
The current youtube-dl is too old, Can you compile one with a new "private.mp3"? @Redwid