The Following User Says Thank You to auouymous For This Useful Post: | ||
|
2011-12-12
, 21:31
|
|
Posts: 3,811 |
Thanked: 1,151 times |
Joined on Oct 2007
@ East Lansing, MI
|
#422
|
Save that to /usr/bin/y and chmod 755 it. Then you should be able to type "y URL" in the terminal.
|
2011-12-12
, 23:02
|
|
Posts: 3,811 |
Thanked: 1,151 times |
Joined on Oct 2007
@ East Lansing, MI
|
#423
|
|
2011-12-12
, 23:20
|
Posts: 875 |
Thanked: 918 times |
Joined on Sep 2010
|
#424
|
What did I do wrong with this?
[1|user@Nokia-N800-43-7|~]y http://www.youtube.com/watch?v=dEkh_KxKao0
[youtube] Setting language
[youtube] dEkh_KxKao0: Downloading video webpage
[youtube] dEkh_KxKao0: Downloading video info webpage
[youtube] dEkh_KxKao0: Extracting video information
ERROR: no fmt_url_map or conn information found in video info
I don't know what chmod 755 means.
I do have the file set as being an executable and the permissions are both set as root.
The Following User Says Thank You to auouymous For This Useful Post: | ||
|
2011-12-13
, 00:49
|
|
Posts: 3,811 |
Thanked: 1,151 times |
Joined on Oct 2007
@ East Lansing, MI
|
#425
|
|
2011-12-13
, 00:59
|
|
Posts: 3,811 |
Thanked: 1,151 times |
Joined on Oct 2007
@ East Lansing, MI
|
#426
|
|
2011-12-13
, 00:59
|
Posts: 875 |
Thanked: 918 times |
Joined on Sep 2010
|
#427
|
> youtube-dl-x -t -f 5 http://www.youtube.com/watch?v=dEkh_KxKao0 [youtube] Setting language [youtube] dEkh_KxKao0: Downloading video webpage [youtube] dEkh_KxKao0: Downloading video info webpage [youtube] dEkh_KxKao0: Extracting video information [download] Destination: Jeremy_Camp_Walk_by_Faith_acoustic-dEkh_KxKao0.flv [download] 100.0% of 7.29M at 46.96k/s ETA 00:00
> ls -l /usr/bin/youtube-dl-x -rwxr-xr-x 1 root root 105459 2011-09-06 07:21 /usr/bin/youtube-dl-x*
The Following User Says Thank You to auouymous For This Useful Post: | ||
|
2011-12-13
, 01:08
|
Posts: 875 |
Thanked: 918 times |
Joined on Sep 2010
|
#428
|
youtube-dl --no-part -f 5 -o -t $1
On my end youtube-dl-x is too old of a file I believe.
The Following User Says Thank You to auouymous For This Useful Post: | ||
|
2011-12-13
, 01:10
|
|
Posts: 3,811 |
Thanked: 1,151 times |
Joined on Oct 2007
@ East Lansing, MI
|
#429
|
|
2011-12-13
, 01:24
|
|
Posts: 3,811 |
Thanked: 1,151 times |
Joined on Oct 2007
@ East Lansing, MI
|
#430
|
-t will put the video's title in the filename otherwise you end up with something like dsKO_r76kfQ.flv
-f 5 downloads a low quality format to run better on the n8x0
Example: youtube-dl-x -t -f 5 http://www.youtube.com/watch?v=dsKO_r76kfQ
You'll also want to strip off extra parameters like &featured... as it can break the script. You want the URL to look like above with no & parameters after it.