Update request: youtube-dl [solved]

For developer discussion on package requests
Post Reply
Message
Author
User avatar
rich
Posts: 180
Joined: Sat Mar 31, 2018 6:39 pm

Update request: youtube-dl [solved]

#1 Post by rich »

Any chance for an update for youtube-dl? Current stable version 2018.01.21-0.1~mx17+1 is severely throttled for downloads from YouTube. Workaround appears standard in version 2018.02.04 per https://github.com/rg3/youtube-dl/issues/15271.

For reference, latest youtube-dl version (installed via python-pip) 2018.05.01 total download time for example video is 1 minute 47 seconds (01:38+00:09)

Code: Select all

rich@mx:~
$ .local/bin/youtube-dl https://www.youtube.com/watch?v=PECAuOihxB0
[youtube] PECAuOihxB0: Downloading webpage
[youtube] PECAuOihxB0: Downloading video info webpage
[youtube] PECAuOihxB0: Extracting video information
[youtube] PECAuOihxB0: Downloading js player vflfv8a8v
[download] Destination: [CHILL TAPE] druid - vol. i  (EP)-PECAuOihxB0.f248.webm
[download] 100% of 100.26MiB in 01:38
[download] Destination: [CHILL TAPE] druid - vol. i  (EP)-PECAuOihxB0.f251.webm
[download] 100% of 15.94MiB in 00:09
[ffmpeg] Merging formats into "[CHILL TAPE] druid - vol. i  (EP)-PECAuOihxB0.webm"
Deleting original file [CHILL TAPE] druid - vol. i  (EP)-PECAuOihxB0.f248.webm (pass -k to keep)
Deleting original file [CHILL TAPE] druid - vol. i  (EP)-PECAuOihxB0.f251.webm (pass -k to keep)
vs download time for same video on latest MX version 2018.01.21 is 13 minutes 15 seconds (07:56+05:19)

Code: Select all

rich@mx:~
$ youtube-dl https://www.youtube.com/watch?v=PECAuOihxB0
[youtube] PECAuOihxB0: Downloading webpage
[youtube] PECAuOihxB0: Downloading video info webpage
[youtube] PECAuOihxB0: Extracting video information
[download] Destination: [CHILL TAPE] druid - vol. i  (EP)-PECAuOihxB0.f248.webm
[download] 100% of 100.26MiB in 07:56
[download] Destination: [CHILL TAPE] druid - vol. i  (EP)-PECAuOihxB0.f251.webm
[download] 100% of 15.94MiB in 05:19
[ffmpeg] Merging formats into "[CHILL TAPE] druid - vol. i  (EP)-PECAuOihxB0.webm"
Deleting original file [CHILL TAPE] druid - vol. i  (EP)-PECAuOihxB0.f248.webm (pass -k to keep)
Deleting original file [CHILL TAPE] druid - vol. i  (EP)-PECAuOihxB0.f251.webm (pass -k to keep)
Last edited by rich on Sat May 05, 2018 9:02 pm, edited 1 time in total.

User avatar
paul1149
Posts: 472
Joined: Fri Dec 29, 2017 12:39 pm

Re: Update request: youtube-dl

#2 Post by paul1149 »

Just run

Code: Select all

sudo youtube-dl --update
MX-19-KDE x64, on Ryzen 5, 16GB RAM, SSD. Nvidia graphics.

User avatar
rich
Posts: 180
Joined: Sat Mar 31, 2018 6:39 pm

Re: Update request: youtube-dl

#3 Post by rich »

paul1149 wrote:Just run

Code: Select all

sudo youtube-dl --update
Not sure if this is the case across the board but I'm showing fresh MX install (only alteration was that I installed youtube-dl) doesn't accept this command.

Installed with apt:

Code: Select all

root@mx-vbox:/home/rich# apt install youtube-dl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Recommended packages:
  phantomjs rtmpdump
The following NEW packages will be installed:
  youtube-dl
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 964 kB of archives.
After this operation, 5,228 kB of additional disk space will be used.
Get:1 http://mxrepo.com/mx/repo stretch/main amd64 youtube-dl all 2018.01.21-0.1~mx17+1 [964 kB]
Fetched 964 kB in 0s (991 kB/s)     
Selecting previously unselected package youtube-dl.
(Reading database ... 311839 files and directories currently installed.)
Preparing to unpack .../youtube-dl_2018.01.21-0.1~mx17+1_all.deb ...
Unpacking youtube-dl (2018.01.21-0.1~mx17+1) ...
Setting up youtube-dl (2018.01.21-0.1~mx17+1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Try but fail to update with youtube-dl command:

Code: Select all

rich@mx-vbox:~
$ sudo youtube-dl --update
It looks like you installed youtube-dl with a package manager, pip, setup.py or a tarball. Please use that to update.

User avatar
Stevo
Developer
Posts: 12774
Joined: Fri Dec 15, 2006 8:07 pm

Re: Update request: youtube-dl

#4 Post by Stevo »

OK, working on 18.04.25 from Debian testing...We also have at least a couple of programs that download and can update their own internal versions of youtube-dl, notably youtube-dlg and qmplay2.

Edit: done, you can install early from this zip. https://drive.google.com/open?id=1Kdfg4 ... 54kGKfakrj

User avatar
rich
Posts: 180
Joined: Sat Mar 31, 2018 6:39 pm

Re: Update request: youtube-dl

#5 Post by rich »

Stevo wrote:We also have at least a couple of programs that download and can update their own internal versions of youtube-dl, notably youtube-dlg and qmplay2.
Very cool, I have not used these before.
Stevo wrote:done, you can install early from this zip. https://drive.google.com/open?id=1Kdfg4 ... 54kGKfakrj
Awesome, thanks!

nathan2423
Posts: 217
Joined: Tue Dec 22, 2015 8:33 am

Re: Update request: youtube-dl [solved]

#6 Post by nathan2423 »

I second the thanks for mentioning the alternatives! I have been having problems getting youtubedlgui to do what I wanted, and I did not know QMPLAY could do that -- have tested it and it works for me better than the other. THANKS FOR MENTIONING that!!!

Post Reply

Return to “Package Requests / Status”