Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Update request: youtube-dl [solved]

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

Update request: youtube-dl [solved]

#1 Post by rich » Sat May 05, 2018 4:32 pm

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.
MX 17.1 Dell Inspiron N5110

User avatar
paul1149
Forum Regular
Forum Regular
Posts: 174
Joined: Fri Dec 29, 2017 12:39 pm

Re: Update request: youtube-dl

#2 Post by paul1149 » Sat May 05, 2018 4:39 pm

Just run

Code: Select all

sudo youtube-dl --update
MX-17.1 x64, on C2D, 6GB RAM, SSD.

User avatar
rich
Forum Regular
Forum Regular
Posts: 296
Joined: Sat Mar 31, 2018 6:39 pm

Re: Update request: youtube-dl

#3 Post by rich » Sat May 05, 2018 4:48 pm

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.
MX 17.1 Dell Inspiron N5110

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16300
Joined: Fri Dec 15, 2006 8:07 pm

Re: Update request: youtube-dl

#4 Post by Stevo » Sat May 05, 2018 8:29 pm

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
Forum Regular
Forum Regular
Posts: 296
Joined: Sat Mar 31, 2018 6:39 pm

Re: Update request: youtube-dl

#5 Post by rich » Sat May 05, 2018 9:02 pm

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!
MX 17.1 Dell Inspiron N5110

nathan2423
Forum Regular
Forum Regular
Posts: 272
Joined: Tue Dec 22, 2015 8:33 am

Re: Update request: youtube-dl [solved]

#6 Post by nathan2423 » Sat May 05, 2018 9:07 pm

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”