Youtube-dl Invalid Parameters [Solved]

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
mikejp56
Level 1
Level 1
Posts: 43
Joined: Mon Oct 21, 2019 8:06 am
Location: Maryland USA

Youtube-dl Invalid Parameters [Solved]

Post by mikejp56 »

Hi All,
I am having an issue with youtube-dl downloading you tube videos. I installed from the Software Manager, and I get the following error message:
"ERROR: AsePqRLla3U: YouTube said: Invalid parameters.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 666, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 316, in extract
return self._real_extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 1171, in _real_extract
expected=True, video_id=video_id)
ExtractorError: AsePqRLla3U: YouTube said: Invalid parameters."
Here is my inxi -Fxz:
System: Host: cuppy-N68PA-M2T Kernel: 4.15.0-101-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Xfce 4.12.3 (Gtk 2.24.28) Distro: Linux Mint 18.3 Sylvia
Machine: System: TAR product: N68PA-M2T v: 5.0
Mobo: TAR model: N68PA-M2T v: 1.0
Bios: Phoenix v: 6.00 PG date: 06/01/2007
CPU: Single core AMD Athlon 64 3800+ (-UP-) cache: 512 KB
flags: (lm nx sse sse2 sse3 svm) bmips: 4800 speed: 2400 MHz (max)
Graphics: Card: NVIDIA C68 [GeForce 7050 PV / nForce 630a] bus-ID: 00:12.0
Display Server: X.Org 1.18.4 drivers: nouveau (unloaded: fbdev,vesa)
Resolution: 1024x768@75.03hz
GLX Renderer: NV67
GLX Version: 2.1 Mesa 18.0.5 Direct Rendering: Yes
Audio: Card NVIDIA MCP67 High Definition Audio
driver: snd_hda_intel bus-ID: 00:07.0
Sound: Advanced Linux Sound Architecture v: k4.15.0-101-generic
Network: Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: ac00 bus-ID: 03:00.0
IF: enp3s0 state: down mac: <filter>
Card-2: NetGear WG111v3 54 Mbps Wireless [realtek RTL8187B]
driver: rtl8187 usb-ID: 002-002
IF: wlx0026f2b963da state: N/A mac: N/A
Drives: HDD Total Size: 500.1GB (6.4% used)
ID-1: /dev/sda model: WDC_WD5000AAKS size: 500.1GB temp: 37C
Partition: ID-1: / size: 457G used: 28G (7%) fs: ext4 dev: /dev/sda1
ID-2: swap-1 size: 2.08GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
ID-3: swap-2 size: 1.01GB used: 0.20GB (19%) fs: swap dev: /dev/zram0
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 35.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 175 Uptime: 42 min Memory: 1390.3/1928.4MB
Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.481) inxi: 2.2.35


Any help would be appreciated.
Thanks all and stay well!
Regards,
mikejp56
Last edited by mikejp56 on Thu Jun 04, 2020 6:50 am, edited 1 time in total.
User avatar
all41
Level 17
Level 17
Posts: 7032
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: Youtube-dl Invalid Parameters

Post by all41 »

There is a better version of youtube-dl direct from youtube-dl.org.
The repository version is outdated so first uninstall that version--then open a terminal
and copy/paste the following:

Code: Select all

sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
and:

Code: Select all

sudo chmod a+rx /usr/local/bin/youtube-dl
This will get you the latest version 2020.05.29. Then you can keep it updated by:

Code: Select all

youtube-dl -U
youtube-dl is updated often
mikejp56
Level 1
Level 1
Posts: 43
Joined: Mon Oct 21, 2019 8:06 am
Location: Maryland USA

Re: Youtube-dl Invalid Parameters

Post by mikejp56 »

Hi all41,
I tried downloading from 2 or 3 different places, all recommended.
Only your recommendation got me a working version.
A big THANK YOU!
Regards,
mikejp56
User avatar
Schultz
Level 8
Level 8
Posts: 2288
Joined: Thu Feb 25, 2016 8:57 pm

Re: Youtube-dl Invalid Parameters

Post by Schultz »

mikejp56 wrote:
I tried downloading from 2 or 3 different places, all recommended.
Recommended by whom? It's always best to go straight to the source (as you found out).
User avatar
all41
Level 17
Level 17
Posts: 7032
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: Youtube-dl Invalid Parameters

Post by all41 »

mikejp56 wrote:
Wed Jun 03, 2020 8:23 pm
Hi all41,
I tried downloading from 2 or 3 different places, all recommended.
Only your recommendation got me a working version.
A big THANK YOU!
Regards,
mikejp56
You're welcome. Glad you got it sorted.
@Schultz makes a good point.
There's a lot of incorrect and outdated information floating around out there.
Now you know where to ask first off.

Cheers
juanca1944
Level 1
Level 1
Posts: 2
Joined: Wed Feb 26, 2020 11:19 pm

Re: Youtube-dl Invalid Parameters

Post by juanca1944 »

all41 wrote:
Tue Jun 02, 2020 11:49 pm
There is a better version of youtube-dl direct from youtube-dl.org.
The repository version is outdated so first uninstall that version--then open a terminal
and copy/paste the following:

Code: Select all

sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
and:

Code: Select all

sudo chmod a+rx /usr/local/bin/youtube-dl
This will get you the latest version 2020.05.29. Then you can keep it updated by:

Code: Select all

youtube-dl -U
youtube-dl is updated often
Thank you, now it works like a charm.

Regards
ppopopp75
Level 1
Level 1
Posts: 3
Joined: Fri Jan 24, 2014 9:41 pm

Re: Youtube-dl Invalid Parameters [Solved]

Post by ppopopp75 »

Fix worked for me. Thanks OP :)
Post Reply