You are not logged in.

#1 2012-01-08 22:24:50

train_wreck
Member
Registered: 2011-10-22
Posts: 97

wget: scheme missing???? (extremely frustrating wget problem)

hello.

part of a bash script i have needs to downoad a set of xml files from a list to a folder. i have the sites in a separate file, with one URL on each line. when the script runs, wget downloads the first file fine, but each one after that gives me the error "scheme missing" I've searched the internet forever and have found nothing useful. the command works perfectly if I run it from a terminal. the command to download is:

wget  -S -N  --directory-prefix=/var/podcast/feeds/ --input-file=/var/podcast/feedlist


contents of /var/podcast/feedlist:

http://feeds.twit.tv/mbw_video_large
http://feeds.twit.tv/fr_video_large
http://feeds.twit.tv/ww_video_large
http://feeds.twit.tv/sn_video_large
http://feeds.twit.tv/twig_video_large
http://feeds.twit.tv/ipad_video_large
http://feeds.twit.tv/tnt_video_large
http://feeds.twit.tv/tri_video_large
http://feeds.twit.tv/fr_video_large
http://feeds.twit.tv/fc_video_large
http://feeds.twit.tv/nsfw_video_large
http://feeds.twit.tv/twich_video_large
http://feeds.twit.tv/specials_video_large

what am I doing wrong?

Last edited by train_wreck (2012-01-08 22:25:22)

Offline

#2 2012-01-20 15:56:51

natestar13
Member
From: Tampa, FL
Registered: 2012-01-16
Posts: 55

Re: wget: scheme missing???? (extremely frustrating wget problem)

Try the "-A" option in your command

http://www.linuxquestions.org/questions … ng-869882/

If that doesn't work, can you please post the section of your code that is dealing with the wget command

Last edited by natestar13 (2012-01-20 15:57:56)


Machine:  Lenovo ThinkCenter M92 (M3209) - Inte i7-3770 CPU

Offline

Board footer

Powered by FluxBB