Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Getting all Headers

by Yappo (Novice)
on Feb 09, 2008 at 19:27 UTC ( #667197=note: print w/replies, xml ) Need Help??


in reply to Re^2: Getting all Headers
in thread Getting all Headers

Thanks.
I upgraded and succeeded to make this work, unfortunately this method does not bring the result I need using headers_as_string.
I will give you an example:
http://www.clipfish.de/player.php?videoid=MzkyOTN8OTA%3D
has a video inside.
There is no direct link to this video in the HTML source, the location will only be sent within the headers.
Using LWP::UserAgent with method progress does not bring this URL which is as follows (from LiveHTTPheaders-log, snippet from header):
http://pg1.clipfish.de/media/96/4efec90e3f12d631b4f5b490db152596.flv GET /media/96/4efec90e3f12d631b4f5b490db152596.flv HTTP/1.1 Host: pg1.clipfish.de ...
Would it be possible to get the "host"-information and URL of the video from the headers using LWP or do I have to use another module or method?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://667197]
help
Chatterbox?
[stevieb]: I've finally added the ability for berrybrew to fetch the list of perls available directly from Strawberry's releases.json file. Instead of pulling from there on every single call, I've added a berrybrew fetch, so it's only updated..
[stevieb]: ...on request. There's some supporting work I need to do, as well as update the docs, but it's in the v1.12 branch if anyone wants to play with it...
[stevieb]: ...issue 62 will track what else needs to be done.

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2017-03-31 01:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (364 votes). Check out past polls.