Tiny Core Base > Corepure64
youtube downloader discussion
CNK:
--- Quote from: aus9 on May 02, 2023, 10:29:10 PM ---Yes please update youtube-dl if you are happy to.
--- End quote ---
Looking into this deeper, the x86 repo has a get_youtube-dl.tcz extension (announced here) which is probably a better way to go, except that because youtube-dl's latest release is so old it won't download a version that still works with YouTube today.
So what I think I'll try and do it to make a version of that script which also has the option of downloading the latest nightly build of youtube-dl (which I just tried making into an extension manually and it works well), and maybe yt-dlp as well. It might be a bit trickier downloading from GitHub instead of the yt-dl.org website though because GitHub don't put the release download links in plain HTML anymore (grumble grumble...).
aus9:
CNK
--- Quote ---and maybe yt-dlp as well.
--- End quote ---
actually I have just realized that I did not compile (for the submission) ( I did do a compile but as per build its size was no better)
so maybe my build is any arch, meaning TC64 could work on TC32
http://tinycorelinux.net/14.x/x86_64/tcz/src/yt-dlp/build-yt-dlp.sh
If you have time on TC32 use your web browser if interested click link and then load it with a python3 series to see what happens?
http://tinycorelinux.net/14.x/x86_64/tcz/yt-dlp.tcz
Hi Rich IMHO its just a python script so my mistake in not calling it any arch
do you agree?
If so I will let Paul_123 know too
CNK:
--- Quote from: aus9 on May 26, 2023, 10:00:19 AM ---CNK
--- Quote ---and maybe yt-dlp as well.
--- End quote ---
actually I have just realized that I did not compile (for the submission) ( I did do a compile but as per build its size was no better)
so maybe my build is any arch, meaning TC64 could work on TC32
http://tinycorelinux.net/14.x/x86_64/tcz/src/yt-dlp/build-yt-dlp.sh
--- End quote ---
Yep, I haven't tested it but there's no reason why it shouldn't work on TC32. The only difference could be with the dependencies, and they look the same for python3.9.tcz on TC64 vs TC32. I also intend my version of the get_youtube-dl.sh script (which I just finished writing, but it's too late now for testing) to work on x86, x86_64, and PiCore.
CNK:
I've posted in the original announcement thread my new version of the get_youtube-dl.sh script and a proposal to submit a new extension for the repos.
aus9:
I have found another mistake of mine. Wrong info in TC64 info file qmplay2. I have claimed it used yt-dl. It does not!
I only realized my mistake,today when I went to source as I plan submitting qmplay2 for piCore64-14x
--- Quote ---YouTube videos don't work without external "yt-dlp" software
--- End quote ---
ref
https://github.com/zaps166/QMPlay2#youtube
--- Code: ---ls -al ~/.qmplay2/ | grep yt
-rwxr-xr-x 1 tc staff 2747279 Mar 31 02:42 yt-dlp
--- End code ---
no-one has complained hehe so I will leave it until an update maybe.
it needs python greater than 3.7 but I am using 3.9, if you search and play youtube within qmplay2.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version