Wget for downloading a public file (stream) as mp4


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Wget for downloading a public file (stream) as mp4
# 1  
Old 02-23-2017
Wget for downloading a public file (stream) as mp4

I need a hint for using wget for getting a free content from a TV station that is streaming its material for a while until it appears on any video platform, that means no use of illegal methods, because it is on air, recently published and available. But reading the manual for wget I tried the following without success.

Code:
 
wget  -4 -c -b -O  -no-cookies -https-only -follow-ftp /home/user/Downloads/thenameofthemovie.mp4 --header "Referrer: www.xyz.com" "https://www.xyz.com/film/category/nameofthemovie.html"

The manpage tells about the header to set it like this for instance ' to use this for quoting

Code:
wget -- header='Accept-Charset: iso-8859-2'\

Furthermore I read about the HTTPS Options to set it like the following
Code:
-secure-protocol=auto

All I get is that the download will be stored in the wget-log. So may someone can give me a hint, how to do better? My interface stays very quiet.

Or should I use the option of

Code:
-max-redirect=n

Thanks in advance. And to anticipate some hints about axel or curl, I want to try it with wget. All that comes down the line is the html file, nothing else, so I am doing wrong. The wget-log tells me in detail how the download for this html took place. But I did not get one chunk of the film.
# 2  
Old 02-23-2017
How to download the stream depends on the stream. We can't really tell without knowing what stream.
# 3  
Old 02-23-2017
So don't be daunted by the link, because it is not in english, sorry, but it is the correct link where I can watch the film broadcasted as a stream.

Der Staatsanwalt - Die funfte Gewalt - ZDFmediathek

And it is written like this, no special characters in this very line.
Thanks in advance for any hint that helps. For sure in about three or four months I can download a crippled version on a video platform. But maybe it works a bit better this way.
# 4  
Old 02-24-2017
The webpage does not download the movie, which is why wget doesn't get it. Flash Player downloads the movie, in a complicated rube goldberg scheme involving javascript and cookies. Sorry.
This User Gave Thanks to Corona688 For This Post:
# 5  
Old 02-25-2017
Okay, despite of geoblocking and all the rest, content of whatever nature turns out to be a valuable thing like spices in the 14.th century. Thanks for testing it.
# 6  
Old 02-25-2017
This User Gave Thanks to Peasant For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to find the length of MP4 file in cygwin?

Hi, Apologies if I'm posting in wrong section. How can I find length (duration) of MP4 videos and m4a audio files on cygwin? I heard about mediainfo, ffmpeg, avconv utilities on Linux platform but not sure if they work (or available) on cygwin. Please advise, TIA (1 Reply)
Discussion started by: prvnrk
1 Replies

2. Shell Programming and Scripting

Wget error while downloading from https website

Hi, I would like to download a file from a https website. I don't have the file name as it changes every day. I am using the following command: wget --no-check-certificate -r -np --user=ABC --password=DEF -O temp.txt https://<website/directory> I am getting followin error in my... (9 Replies)
Discussion started by: pinnacle
9 Replies

3. UNIX for Advanced & Expert Users

howto remove meta info about MP4 or FLV file downloaded off Youtube?

Hi I tried a tool called mediainfo > brew info media-info media-info 0.7.51 http://mediainfo.sourceforge.net Depends on: pkg-config /usr/local/Cellar/media-info/0.7.51 (3 files, 14M) http://github.com/mxcl/homebrew/commits/master/Library/Formula/media-info.rb Got details from a test... (3 Replies)
Discussion started by: slashdotweenie
3 Replies

4. Shell Programming and Scripting

Downloading with Wget

Hello everyone. I'm new both to the forum and to unix scripting, and this website has been very useful in putting together a script I am working on. However, I have run into a bit of a snag, which is why I have come here seeking help. First I will say what I am trying to do, and then what I have... (2 Replies)
Discussion started by: keltonhalbert
2 Replies

5. UNIX for Dummies Questions & Answers

wget pdf downloading problem

Hi. I am trying to make a mirror of this free online journal: http://www.informaworld.com/smpp/title~content=t716100758~db=all Under the individual issues, the link location for the "Full Text PDF" does not have ".pdf" as an extension -- so when I use wget it misses the file. However clicking... (5 Replies)
Discussion started by: obo1234
5 Replies

6. UNIX for Dummies Questions & Answers

Crontab Wget, downloading a file to a FTP

Hi there, I've got my own domain, ftp etc.. I'm using cPanel and I want to download a file periodically, every say 24 hours. I've used this command: wget -t inf http : / / www . somesite . com / webcam.jpg ftp : / / i @ MyDomain . net : Password @ ftp . MyDomain . net^no spaces... (24 Replies)
Discussion started by: zYx
24 Replies

7. Solaris

HTTP error while downloading solaris patches using wget

Hello, I am getting a HTTP error while downloading solaris patches using wget. 'Downloading unsigned patch 113096-03. --2010-06-18 03:51:15-- http://sunsolve.sun.com/pdownload.pl?target=113096-03&method=h Resolving sunsolve.sun.com (sunsolve.sun.com)... 192.18.108.40 Connecting to... (5 Replies)
Discussion started by: sunny_a_j
5 Replies

8. Shell Programming and Scripting

[Video stream] network stream recording with mplayer

Hi I used this command: mplayer http://host/axis-cgi/mjpg/video.cgi -user root -passwd root \ -cache 1024 -fps 25.0 -nosound -vc ffh264 \ -demuxer 3 -dumpstream -dumpfile output.avi It's ok but... Video Playing is very fast! Why? Is it a synch problem? What parameter I have to use for... (1 Reply)
Discussion started by: takeo.kikuta
1 Replies

9. Linux

convert avi to cellphone friendly 320x176 mp4 file...ffmpeg to the rescue :)

found a few ffmpeg posts and after a few unsuccessful attempts, I have found a solution :) to encode an avi to to an nokia e71 recognized mp4 format: ffmpeg -y -i inputFILE.avi -acodec aac -ab 72k -s 320x176 -aspect 16:9 -vcodec h264 -b 300k -qcomp 0.6 -qmin 16 -qmax 51 -qdiff 4 -flags +loop... (2 Replies)
Discussion started by: mr_manny
2 Replies
Login or Register to Ask a Question