1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Youtube flv download

Discussion in 'PHP' started by zorde, Apr 6, 2010.

  1. #1
    I had a php script that would copy an flv file from Youtube to my server when passed a a URl like http://www.youtube.com/watch?v=XXXXXXXXX
    It doesn't work anymore and I have been manually getting the youtube flv URL using keepvid.com

    Now Keepvid use a signed applet, so that stops me getting the url programatically.

    Does anyone have a working solution in PHP?

    Please don't post names or links to software I need to download and install that will allow me to save a youtube video.
     
    zorde, Apr 6, 2010 IP
  2. guardian999

    guardian999 Well-Known Member

    Messages:
    376
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #2
    You need download video to your server.
    You can use curl or file_get_contents functions.
     
    guardian999, Apr 7, 2010 IP
  3. zorde

    zorde Peon

    Messages:
    382
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I know this, but what I need is a way to convert the http://www.youtube.com/watch?v=XXXXXXXXX to a URL where I can download the actual FLV file.
     
    zorde, Apr 7, 2010 IP
  4. guardian999

    guardian999 Well-Known Member

    Messages:
    376
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #4
    You need to get youtube token file.

    I have the script, PM if you want.
     
    guardian999, Apr 7, 2010 IP
  5. javaongsan

    javaongsan Well-Known Member

    Messages:
    1,054
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    128
    #5
    just use youtube api
     
    javaongsan, Apr 7, 2010 IP
  6. ps3ubo

    ps3ubo Peon

    Messages:
    204
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
  7. samthjj67

    samthjj67 Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thanks, now here have a free software StreamTransport, it can download videos from youtube and hulu.
     
    samthjj67, Apr 12, 2010 IP