Youtube-Get, a GUI frontend for youtube-dl (now yt-dlp)

Moderator: Forum moderators

User avatar
fredx181
Posts: 2489
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 261 times
Been thanked: 954 times
Contact:

Youtube-Get, a GUI frontend for youtube-dl (now yt-dlp)

Post by fredx181 »

Update 2022-12-19 youtube-get3 v1.5.4, fixed bug when the video ID (after https://www.youtube.com/watch?v=) starts with a dash "-" e.g. https://www.youtube.com/watch?v=-meEe-jTFlk that downloading failed.
(see also viewtopic.php?p=76065#p76065)

youtube-get3-1.5.4_noarch.pet
(49.75 KiB) Downloaded 220 times

Update 2021-11-05 youtube-get3 v1.5.3, now using yt-dlp, requires python3, see also discussion, starting here: viewtopic.php?p=40379#p40379
Update 2021-09-15 youtube-get3 v1.5.2, some fixes, see here: viewtopic.php?p=36993#p36993

Update 2021-02-13 youtube-get3 v1.5.1, now using youtube-dl, see also here: viewtopic.php?p=17492#p17492 [edited 2021-02-13]
Attachment pet package (EDIT: v1.5.1 now, see info: viewtopic.php?p=17532#p17532):
----------------------------------------------------------------------------------
Here's a GUI frontend for youtube-dlc, package youtube-get3-1.4.0_noarch.pet:
EDIT, updated to v1.4.0, see changes info here: viewtopic.php?p=12360#p12360
https://github.com/doglinux/busterdog/r ... noarch.pet
Required to have installed: yad (for the GUI dialogs), python2 or python3 (for youtube-dlc), wget, curl. (and for v1.0.4 ffmpeg) [edited]
EDIT: Download yad v0.40 pet packages, see here: viewtopic.php?p=9063#p9063
youtube-dlc is included in the pet (in usr/local/bin/)
NOTE: On very new systems, e.g. FossaPup, python will probably be installed, but /usr/bin/python may not exist (only /usr/bin/python3)
Then youtube-dlc won't work because it looks for /usr/bin/python, to fix, make a symlink python to python3:

Code: Select all

cd /usr/bin; ln -s python3 python

youtube-dlc is a fork of the well known youtube-dl (that has been taken down recently) and youtube-dlc is actively developed.
Github repository: https://github.com/blackjack4494/yt-dlc
It supports a different search method than youtube-dl does (youtube-dl search (ytsearch) seems very unreliable), see also here: viewtopic.php?p=8868#p8868

EDIT: Forgot to mention that there are only some quality choices, Low 240p, Medium 360p, High 720p (no HD and DASH etc... supported).
EDIT 2020-12-14: v1.0.4 has support now for merging Audio/Video, required is to have ffmpeg installed

Fred

Main GUI
Main GUI
2021-09-16_23-15-03.png (88.99 KiB) Viewed 2481 times
Search for videos
Search for videos
2020-10-31-121517_428x330_scrot.png (55.99 KiB) Viewed 3163 times
Search results
Search results
2020-10-31-121642_752x629_scrot_592x495.png (214.94 KiB) Viewed 3163 times
Downloading...
Downloading...
2020-10-31-121918_956x211_scrot_736x162.png (62.4 KiB) Viewed 3163 times
User avatar
mikewalsh
Moderator
Posts: 5521
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 555 times
Been thanked: 1660 times

Re: Youtube-Get, a GUI frontend for youtube-dlc

Post by mikewalsh »

Afternoon, Fred.

Um; Python. Now; does it HAVE to be Python3.....or will Python2 work so long as the symlink is in place?

Details, details..... (yuk, yuk...) :D

(EDIT:- Answered my own question.....it's clearly stated down the bottom of the GitHub link; Python 2.6, 2.7 or 3.2+. All right; I think I'll take a gander at this, mate...)


Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
fredx181
Posts: 2489
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 261 times
Been thanked: 954 times
Contact:

Re: Youtube-Get, a GUI frontend for youtube-dlc

Post by fredx181 »

New .pet package youtube-get3 v1.1.0:
EDIT: Latest improved, v1.2.0 see viewtopic.php?p=9066#p9066
https://github.com/doglinux/busterdog/r ... noarch.pet
Needed a small fix for "playlist/channel download" and "user download":
Previously gave error message in some cases when there was an error from Youtube for one list item, but didn't continue to build the list.
Fixed by disabling such error messages for the most and added --ignore-errors to some yt-dlc commands.

Fred

User avatar
mikewalsh
Moderator
Posts: 5521
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 555 times
Been thanked: 1660 times

Re: Youtube-Get, a GUI frontend for youtube-dlc

Post by mikewalsh »

Works a treat, Fred. Cheers!


Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
BarryK
Posts: 2217
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 93 times
Been thanked: 533 times

Re: Youtube-Get, a GUI frontend for youtube-dlc

Post by BarryK »

Yes, works great, very sophisticated app. I did a search for "the beatles" and downloaded "hey jude". Only a minor criticism, got a window that it was downloading and I clicked its ok button, but then did not get a confirm message after it had downloaded. But I found it in /root
dancytron
Posts: 648
Joined: Fri Dec 13, 2019 6:26 pm
Has thanked: 401 times
Been thanked: 186 times

Re: Youtube-Get, a GUI frontend for youtube-dlc

Post by dancytron »

Installed in Debian Dog Stretch and it downloaded a youtube url my other downloader failed on.
:thumbup:
chiron
Posts: 15
Joined: Tue Jul 28, 2020 8:15 am
Location: Frankonia/EU
Has thanked: 4 times
Been thanked: 5 times

Re: Youtube-Get, a GUI frontend for youtube-dlc

Post by chiron »

Sorry to say, but it does not work for me. Search is OK, then I select a track, Download Dialog appears, nothing more happens, and the file does not show up in /root. This is on Fatdog 8.11 and I am accessing youtube from Germany.
User avatar
fredx181
Posts: 2489
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 261 times
Been thanked: 954 times
Contact:

Re: Youtube-Get, a GUI frontend for youtube-dlc

Post by fredx181 »

Hi guys, thanks for responding.
Still working on it, found that the earlier fix for "playlist/channel download" and "user download" that I thought it was fixed, caused another problem.
I wrote this actually a few years ago already (was Youtube-get v2) for DebianDog, now I'm staring at the script as if it's greek,lol.
But will get there soon, I think.

@chiron I will test on Fatdog to see what can be wrong.

Fred
keniv
Posts: 622
Joined: Mon Jul 13, 2020 2:18 pm
Location: Scotland
Has thanked: 92 times
Been thanked: 64 times

Re: Youtube-Get, a GUI frontend for youtube-dlc

Post by keniv »

I installed the youtube-get3 v1.1.0.pet in Racy 5.5.1. It did not run from the menu entry. I ran it in a terminal. Here's the output.

Code: Select all

# youtube-get3
Usage: 
 - youtube-get3 (without any arguments, brings up the GUI with choices)
 - youtube-get3 url (enter url(s))
 - youtube-get3 playlist (enter playlist url)
 - youtube-get3 user (download from specified user uploads)
 - youtube-get3 search (download from search items)
youtube-get3 is installed in PATH
Unable parse command line: Unknown option --single-click
# 

I've checked an I have yad installed. Is Racy to old to run this pet?

Regards,

Ken.

User avatar
mikewalsh
Moderator
Posts: 5521
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 555 times
Been thanked: 1660 times

Re: Youtube-Get, a GUI frontend for youtube-dlc

Post by mikewalsh »

@keniv :-

Have you got Python installed, Ken? This won't function unless you have.....either 2.6 or 2.7.

Also; how old is your version of YAD? Enter the following in a terminal, and let us know the output, please:-

Code: Select all

yad --about

Many of Fred's more recent masterpieces DO require a substantially newer version of YAD than ships with older versions of Puppy by default; the use of some of the newest functions are in large part responsible for Fred's GUIs looking as good as they do. That last line LOOKS like a YAD issue, IMHO.....given the "--" prefix. :)

Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
fredx181
Posts: 2489
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 261 times
Been thanked: 954 times
Contact:

Re: Youtube-Get, a GUI frontend for youtube-dlc

Post by fredx181 »

keniv wrote:

I installed the youtube-get3 v1.1.0.pet in Racy 5.5.1. It did not run from the menu entry. I ran it in a terminal. Here's the output.
...

Almost sure that's because of a too old yad version (as Mike suspected already), attached yad v0.40-i686 pet (32-bit)
EDIT: attached also 64-bit yad v0.40 pet

Fred

Attachments
yad-0.40-amd64.pet
yad v0.40 64-bit
(74.3 KiB) Downloaded 101 times
yad-0.40-i686.pet
yad v0.40 32-bit
(70.82 KiB) Downloaded 105 times
User avatar
fredx181
Posts: 2489
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 261 times
Been thanked: 954 times
Contact:

Re: Youtube-Get, a GUI frontend for youtube-dlc

Post by fredx181 »

*** Youtube-get update, version 1.2.0 ***

Download youtube-get3-1.2.0_noarch.pet: https://github.com/doglinux/busterdog/r ... noarch.pet

First, I must say that I'm quite happy with the changes (big improvement, if I may say so myself :) ), as I already didn't really like much the setup in earlier Youtube-get versions, youtube-dlc (and youtube-dl) is such a great advanced program !!, so many options, so always being able to find a method to extract e.g. video ID, video titles, build lists (search, user uploads, channel), format options etc...

Changes:

  • fixed that in some cases (when included in list, e.g. DRM protected videos, see also below) when one or more videos gave an error, the list order got messed up, then, for example, selecting nr 10 downloaded nr 9 with wrong title.
    Now rather then looking for a playlist number to download, it looks for a video ID, so it's much more reliable.
    This results in when selecting such a 'error' video, it will show 'error' in the 'Downloads in progress' dialog.
  • changed that "temp" files are created in a different way.
    @chiron , about that was the issue on Fatdog (absense of the "tempfile" command in Fatdog), should work OK now, please test and report back.
  • building lists, e.g. for "search", "user" "playlist/channel" is much faster now (waiting for downloads to be started is still slow as it was, but obviously depends on how many videos selected for download)

A while back, when YouTube "Premium" didn't exist yet, it was easier to extract data, now specially with DRM protected, or other copyrighted material it requires a different approach.

Hopefully YouTube doesn't make changes too often and that youtube-dl(c) stays available and can keep up with the changes.
I'll try to keep up with a new youtube-dlc version and update Youtube-Get accordingly. (pity that at this time "youtube-dlc -U" doesn't work (update youtube-dlc "itself"), hopefully it will do in the future, so can be implemented in Youtube-Get, e.g. with a button "Update youtube-dlc".

Fred

chiron
Posts: 15
Joined: Tue Jul 28, 2020 8:15 am
Location: Frankonia/EU
Has thanked: 4 times
Been thanked: 5 times

Re: Youtube-Get, a GUI frontend for youtube-dlc

Post by chiron »

:thumbup2:

Works with FatDog now, great little tool

keniv
Posts: 622
Joined: Mon Jul 13, 2020 2:18 pm
Location: Scotland
Has thanked: 92 times
Been thanked: 64 times

Re: Youtube-Get, a GUI frontend for youtube-dlc

Post by keniv »

@mikewalsh
The output of

Code: Select all

yad --about

told me I had version 0.12 so I've installed Fred's pet. However I now think I'm also missing python (please see below).

@ fredx181
As said above I installed the yad update .pet. I also uninstalled the old youtube-get .pet and installed the new one. This initially seemed to work in that I got to the search screen, however, no search seemed to take place and an screen appeared almost instantly with no results. I ran it in a terminal. Here's the output.

Code: Select all

 - youtube-get3 (without any arguments, brings up the GUI with choices)
 - youtube-get3 url (enter url(s))
 - youtube-get3 playlist (enter playlist url)
 - youtube-get3 user (download from specified user uploads)
 - youtube-get3 search (download from search items)
youtube-get3 is installed in PATH
Usage: 
 - youtube-get3 (without any arguments, brings up the GUI with choices)
 - youtube-get3 url (enter url(s))
 - youtube-get3 playlist (enter playlist url)
 - youtube-get3 user (download from specified user uploads)
 - youtube-get3 search (download from search items)
youtube-get3 is installed in PATH
/usr/local/bin/youtube-get3: line 649: 20288 Terminated              yad --icons --read-dir "/usr/local/youtube-get3" --image /usr/share/pixmaps/ytt.png --window-icon="/usr/share/pixmaps/yt.png" --center --width 630 --height 230 --image-on-top --title="YouTube-Get" --item-width 140 --single-click --text " <b>*** YouTube-Get v3 ***</b> \n A YouTube Downloader frontend for <b>youtube-dlc</b> \n Single click on the item of your choice \n Hover your mouse over items for more information" --no-buttons
# 0
srch=iphone5 battery replacement
env: can't execute 'python': No such file or directory

I think the last line suggests I don't have python. I did make the symlink using the code in your post. I looked in /usr/bin. The link is there but looks broken. No version of python seems to be installed in /usr/bin (please see python image). I also tried pFind. It shows python in /usr/bin but I think this might be the symlink (please see pFind image).
If I'm correct and I am missing python can I use the one in the ppm. It's named libxml_python-2.6.30. this is not for racy but is in fact for puppy-4. I'm not even sure tht this is a whole python package. If the above is not suitable could you point me at a .pet for a version of python that would do.

Regards,

Ken.

Attachments
python.png
python.png (63 KiB) Viewed 2117 times
pfind.png
pfind.png (39.47 KiB) Viewed 2117 times
User avatar
mikewalsh
Moderator
Posts: 5521
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 555 times
Been thanked: 1660 times

Re: Youtube-Get, a GUI frontend for youtube-dlc

Post by mikewalsh »

@keniv :-

I certainly can sort you a Python package. I've got a few kicking around somewhere.....either 2.6, OR 2.7.....both for 32-bit. Leave it with me; I'm busy this evening, may be a wee while before I can get back to you.

Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
mikewalsh
Moderator
Posts: 5521
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 555 times
Been thanked: 1660 times

Re: Youtube-Get, a GUI frontend for youtube-dlc

Post by mikewalsh »

@keniv :-

Okay. Here's a Python 2.7 "all-in-one" package that should work for you. I used this one myself when I used to run Racy.

https://drive.google.com/file/d/12-PsSM ... sp=sharing

You WILL need to re-create the Python sym-link; I think that 'broken' one you've got probably points at python2.6, so it'll want re-doing.

Hope that helps.

Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

keniv
Posts: 622
Joined: Mon Jul 13, 2020 2:18 pm
Location: Scotland
Has thanked: 92 times
Been thanked: 64 times

Re: Youtube-Get, a GUI frontend for youtube-dlc

Post by keniv »

@mikewalsh
Thanks Mike, I'll try it tomorrow and report back.

Regards,

Ken.

User avatar
fredx181
Posts: 2489
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 261 times
Been thanked: 954 times
Contact:

Re: Youtube-Get, a GUI frontend for youtube-dlc

Post by fredx181 »

*** Youtube-get update, version 1.3.0 ***

Download youtube-get3-1.3.0_noarch.pet: https://github.com/doglinux/busterdog/r ... noarch.pet
Changes:

  • Speedup drastically the waiting time for downloads to be started, now downloading by youtube-dlc rather than wget.
    (speedup, specially when multiple downloads selected from list)
  • Added 'Update youtube-dlc' button, recommended to run from time to time
    (updating 'itself' by running youtube-dlc -U still doesn't work, but using a workaround (depends on curl) )
  • Updated youtube-dlc (included) to latest version, currently: 2020.10.31

Still I get +/- 1 out of 10 times a "download error", and not only with copyright protected videos, no idea if that's a small bug in youtube-dlc, or is Youtube nagging us ? :evil:

Fred

Added Update button
Added Update button
2020-11-04-180535_632x289_scrot.png (58.27 KiB) Viewed 2058 times
keniv
Posts: 622
Joined: Mon Jul 13, 2020 2:18 pm
Location: Scotland
Has thanked: 92 times
Been thanked: 64 times

Re: Youtube-Get, a GUI frontend for youtube-dlc

Post by keniv »

@mikewalsh
I installed your python2.7 .pet. Had to change the code to make the symlink to

Code: Select all

cd /usr/bin; ln -s python2.7 python

Now it almost works in that it gets to the search screen but when you choose an item to search on and press "forward" you see the initializing bar for about a couple of seconds then an empty results page appears. Here's the output from running in a terminal.

Code: Select all

# youtube-get3
Usage: 
 - youtube-get3 (without any arguments, brings up the GUI with choices)
 - youtube-get3 url (enter url(s))
 - youtube-get3 playlist (enter playlist url)
 - youtube-get3 user (download from specified user uploads)
 - youtube-get3 search (download from search items)
youtube-get3 is installed in PATH
Usage: 
 - youtube-get3 (without any arguments, brings up the GUI with choices)
 - youtube-get3 url (enter url(s))
 - youtube-get3 playlist (enter playlist url)
 - youtube-get3 user (download from specified user uploads)
 - youtube-get3 search (download from search items)
youtube-get3 is installed in PATH
/usr/local/bin/youtube-get3: line 649: 18156 Terminated              yad --icons --read-dir "/usr/local/youtube-get3" --image /usr/share/pixmaps/ytt.png --window-icon="/usr/share/pixmaps/yt.png" --center --width 630 --height 230 --image-on-top --title="YouTube-Get" --item-width 140 --single-click --text " <b>*** YouTube-Get v3 ***</b> \n A YouTube Downloader frontend for <b>youtube-dlc</b> \n Single click on the item of your choice \n Hover your mouse over items for more information" --no-buttons
# 0
srch=beetles
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type %s' % name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type %s' % name)
ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type %s' % name)
ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type %s' % name)
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type %s' % name)
ValueError: unsupported hash type sha384
ERROR:root:code for hash sha512 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type %s' % name)
ValueError: unsupported hash type sha512
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/bin/youtube-dlc/__main__.py", line 16, in <module>
  File "/usr/local/bin/youtube-dlc/youtube_dlc/__init__.py", line 15, in <module>
  File "/usr/local/bin/youtube-dlc/youtube_dlc/options.py", line 8, in <module>
  File "/usr/local/bin/youtube-dlc/youtube_dlc/downloader/__init__.py", line 3, in <module>
  File "/usr/local/bin/youtube-dlc/youtube_dlc/downloader/common.py", line 10, in <module>
  File "/usr/local/bin/youtube-dlc/youtube_dlc/utils.py", line 30, in <module>
  File "/usr/lib/python2.7/ssl.py", line 60, in <module>
    import _ssl             # if we can't import it, let the error propagate
ImportError: libssl.so.1: cannot open shared object file: No such file or directory
/usr/local/bin/youtube-get3: line 553: 18455 Terminated              tail -f $HOME/.config/youtube-get.conf
     18456                       | yad --center --borders 5 --progress --width=400 --progress-text "Initializing... Please Wait..." --pulsate --undecorated --no-buttons
# 

I don't pretend to understand this but to me there seem to be problems with python. Is there something I can do to fix this?

Regards,

Ken.

User avatar
fredx181
Posts: 2489
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 261 times
Been thanked: 954 times
Contact:

Re: Youtube-Get, a GUI frontend for youtube-dlc

Post by fredx181 »

output from keniv's post wrote:

srch=beetles

BEETLES. do they exist ?!

Hi Ken, no, seriously, libssl.so.1 is not found, as I see in your output. I think you need to install libssl1.0.0 (but not exactly sure and if that's the problem only)

Fred

keniv
Posts: 622
Joined: Mon Jul 13, 2020 2:18 pm
Location: Scotland
Has thanked: 92 times
Been thanked: 64 times

Re: Youtube-Get, a GUI frontend for youtube-dlc

Post by keniv »

fredx181 wrote: Wed Nov 04, 2020 5:26 pm

BEETLES. do they exist ?!

Ah yes, when you get to my age you can put down simple spelling errors like this to a "senior moment". In my defense I also tried "iphone5 battery replacement". Likewise, missing this line of code "ImportError: libssl.so.1: cannot open shared object file: No such file or directory" I'm also claiming as a "senior moment".
I've looked for libssl 1.0.0 in the Racy ppm but it's not there. I've also had a look on the web but can't find a link to a .pet. so unless some kind person can point me at one I guess I'm stuck.

but not exactly sure and if that's the problem only

I've tried checking for missing dependencies but did not find any (see attachment). Perhaps checking for these is not always accurate.

Regards,

Ken

Attachments
dependent-libs-packages.png
dependent-libs-packages.png (14.05 KiB) Viewed 1659 times
User avatar
fredx181
Posts: 2489
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 261 times
Been thanked: 954 times
Contact:

Re: Youtube-Get, a GUI frontend for youtube-dlc

Post by fredx181 »

Hi Ken,
I had a look at racy and found that libssl.so.1.0.0 is installed, but no symlink libssl.so.1, similar for libcrypto, so doing this in terminal:

Code: Select all

cd /usr/lib
ln -s libssl.so.1.0.0 libssl.so.1
ln -s libcrypto.so.1.0.0 libcrypto.so.1

(and of course installed the yad and python pet) made youtube-get3 work as expected for me.

Fred

keniv
Posts: 622
Joined: Mon Jul 13, 2020 2:18 pm
Location: Scotland
Has thanked: 92 times
Been thanked: 64 times

Re: Youtube-Get, a GUI frontend for youtube-dlc

Post by keniv »

Hi Fred,
Well I think it's almost there. I now get to the search screen with 10 items listed. If I choose one of these then attempt to download I see the download bar which runs for a while. I then get a box with "download error" (see attached). I've checked to see if anything did download but there was nothing. I've tried searching using other terms including "beatles" but nothing works. I ran it in a terminal. Here's the output.

Code: Select all

# youtube-get3
Usage: 
 - youtube-get3 (without any arguments, brings up the GUI with choices)
 - youtube-get3 url (enter url(s))
 - youtube-get3 playlist (enter playlist url)
 - youtube-get3 user (download from specified user uploads)
 - youtube-get3 search (download from search items)
youtube-get3 is installed in PATH
Usage: 
 - youtube-get3 (without any arguments, brings up the GUI with choices)
 - youtube-get3 url (enter url(s))
 - youtube-get3 playlist (enter playlist url)
 - youtube-get3 user (download from specified user uploads)
 - youtube-get3 search (download from search items)
youtube-get3 is installed in PATH
/usr/local/bin/youtube-get3: line 649: 14865 Terminated              yad --icons --read-dir "/usr/local/youtube-get3" --image /usr/share/pixmaps/ytt.png --window-icon="/usr/share/pixmaps/yt.png" --center --width 630 --height 230 --image-on-top --title="YouTube-Get" --item-width 140 --single-click --text " <b>*** YouTube-Get v3 ***</b> \n A YouTube Downloader frontend for <b>youtube-dlc</b> \n Single click on the item of your choice \n Hover your mouse over items for more information" --no-buttons
# 0
srch=iphone5 battery replacement
/usr/local/bin/youtube-get3: line 131: 15219 Terminated              tail -f $HOME/.config/youtube-get.conf
     15220                       | yad --center --borders 5 --progress --width=400 --progress-text "Initializing... Please Wait..." --pulsate --undecorated --no-buttons
/usr/local/bin/youtube-get3: line 131: 15743 Terminated              tail -f $HOME/.config/youtube-get.conf
     15744                       | yad --center --progress --width=400 --progress-text "Please Wait... Download will start in a moment" --pulsate --undecorated --no-buttons

I'm afraid I can't make anything of this but I assume you can.

Regards,

Ken.

Attachments
download-error.png
download-error.png (15.24 KiB) Viewed 1632 times
User avatar
fredx181
Posts: 2489
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 261 times
Been thanked: 954 times
Contact:

Re: Youtube-Get, a GUI frontend for youtube-dlc

Post by fredx181 »

keniv wrote:

If I choose one of these then attempt to download I see the download bar which runs for a while. I then get a box with "download error" (see attached).

To be honest, I don't know why, and can't see anything wrong in your output, for me it works OK on Racy.
The "download error" I've seen also, but only sometimes.
I see from your screenshot that you are using v1.2.0, perhaps you can try latest v1.3.0 and see if that works.
If not, I'm out of ideas.
EDIT: When I do get the download error, I try again with the same video and then it downloads OK.

Fred

keniv
Posts: 622
Joined: Mon Jul 13, 2020 2:18 pm
Location: Scotland
Has thanked: 92 times
Been thanked: 64 times

Re: Youtube-Get, a GUI frontend for youtube-dlc

Post by keniv »

fredx181 wrote: Thu Nov 05, 2020 5:03 pm

I see from your screenshot that you are using v1.2.0, perhaps you can try latest v1.3.0 and see if that works.
If not, I'm out of ideas.
EDIT: When I do get the download error, I try again with the same video and then it downloads OK.

Hi Fred,
I didn't realize that I hadn't got the most up to date version. Have uninstalled v1.2.0 and installed v1.3.0 and hey presto it's working. I've only tried searching on "beatles" and "iphone5 battery replacement" but both worked first time. I've also tested both downloads and both play fine. Really good to have it working on an old pup like Racy. Sorry to put you to so much trouble. Thanks to you and Mike as well for all the help.

Regards,

Ken.

User avatar
fredx181
Posts: 2489
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 261 times
Been thanked: 954 times
Contact:

Re: Youtube-Get, a GUI frontend for youtube-dlc

Post by fredx181 »

keniv wrote: Fri Nov 06, 2020 3:16 pm
fredx181 wrote: Thu Nov 05, 2020 5:03 pm

I see from your screenshot that you are using v1.2.0, perhaps you can try latest v1.3.0 and see if that works.
If not, I'm out of ideas.
EDIT: When I do get the download error, I try again with the same video and then it downloads OK.

Hi Fred,
I didn't realize that I hadn't got the most up to date version. Have uninstalled v1.2.0 and installed v1.3.0 and hey presto it's working. I've only tried searching on "beatles" and "iphone5 battery replacement" but both worked first time. I've also tested both downloads and both play fine. Really good to have it working on an old pup like Racy. Sorry to put you to so much trouble. Thanks to you and Mike as well for all the help.

Regards,

Ken.

Yes, thanks, good to see it's working well on old pups too, you're welcome ! And my thanks to Mike too.

Btw, just saying, you can select multiple videos for download from a list of e.g. search items or e.g. "user" list..
Probably 1.3.0 will be the last version, unless bugs are found, must say that it's a big improvement compared to earlier versions, much shorter waiting time for downloads to be started, and youtube-dlc can be updated easily, hopefully youtube-dlc stays developed.

Fred

User avatar
mikewalsh
Moderator
Posts: 5521
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 555 times
Been thanked: 1660 times

Re: Youtube-Get, a GUI frontend for youtube-dlc

Post by mikewalsh »

@keniv / @fredx181 :-

As a footnote, it's worth pointing out that applications that require libcrypto almost invariably require libssl, too. I forget which way round it works - by which I mean that I don't remember which package you actually look for - but I know that you will NOT find both libcrypto AND libssl in a distro's repositories.

Reason being that the two sets of libs always come together in the same package. I think you search for and download libcrypto, and libssl comes packaged with it.....but don't quote me on that. I've just spent a fruitless 30 minutes or so searching the site at http://old-releases.ubuntu.com/ubuntu/pool/ , and couldn't locate either one..! :roll:

Just as an aside, it's also worth noting that most stuff from the Precise 571 repos will work OOTB in Racy. I retrieved a LOT of stuff from there when I ran it.

Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
fredx181
Posts: 2489
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 261 times
Been thanked: 954 times
Contact:

Re: Youtube-Get, a GUI frontend for youtube-dlc

Post by fredx181 »

Hi Mike, any package named libssl* always contains both, libssl and libcrypto libs, AFAIK

Search Debian for libcrypto.so.1 in package contents. For example, see here: https://packages.debian.org/search?suit ... rypto.so.1
Filelist Jessie libssl1.0.0 i386: https://packages.debian.org/jessie/i386 ... 0/filelist

keniv
Posts: 622
Joined: Mon Jul 13, 2020 2:18 pm
Location: Scotland
Has thanked: 92 times
Been thanked: 64 times

Re: Youtube-Get, a GUI frontend for youtube-dlc

Post by keniv »

@fredx181 - @mikewalsh,
Sorry I didn't respond yesterday. I had to take out , flush and reinstall a central heating radiator and it turned out much more of a faff than I expected it to be.

youtube-dlc can be updated easily, hopefully youtube-dlc stays developed.

Great that youtube-dlc seems to be able to effectively replace youtube-dl. I also hope it stays in development. I find it very useful to be able to download a retain stuff like replacing batteries in phones etc.

Just as an aside, it's also worth noting that most stuff from the Precise 571 repos will work OOTB in Racy.

That's useful to know. I knew Racy and Wary were very similar but didn't know about Precise 571 which I believe I have tried in the past.

Regards,

Ken.

User avatar
sc0ttman
Posts: 93
Joined: Sat Aug 22, 2020 3:55 pm
Has thanked: 4 times
Been thanked: 33 times

Re: Youtube-Get, a GUI frontend for youtube-dlc

Post by sc0ttman »

Hi,

Does anyone know if

  1. that YAD wget downloader is a standalone thing?
  2. if so, does it support xembed, so it can be embedded in other apps, like tabbed?

(Does yad have something like a --embed option, and if so, does this wget yad downloader?)

Thanks

Post Reply

Return to “Browsers and Internet”