Whats the algorithm to generate youtube download links?

Discussion in 'YouTube' started by santhej, Feb 25, 2012.

  1. santhej

    santhej Jr. VIP Jr. VIP

    Joined:
    May 26, 2010
    Messages:
    692
    Likes Received:
    202
    Gender:
    Male
    Occupation:
    Virtual Assistant Provider
    Location:
    Derby
    Home Page:
    Hey Black Hatters,,
    i would like to program a webside script using to generate youtube download links for my customers...any of you know whats the algorithm to generate the download links and do tell me which tools in python i should make of.

    Note:I am just a python newbie...have read a lot..but i dont think i would have read even 1% of what my fellow BHW members have read...
     
  2. santhej

    santhej Jr. VIP Jr. VIP

    Joined:
    May 26, 2010
    Messages:
    692
    Likes Received:
    202
    Gender:
    Male
    Occupation:
    Virtual Assistant Provider
    Location:
    Derby
    Home Page:
    no answers?:eek:
     
  3. Lutherblissett

    Lutherblissett Power Member

    Joined:
    Feb 10, 2008
    Messages:
    525
    Likes Received:
    205
    I don't know the algorithm per say . . but this may help you with this:
    1.you may want to post next time in youtube section
    2. I assume most downloaders locate the flash file on the page and then download that and convert it one over to a more readable format (assuming this is offline).
    3. Look for plugins developed on firefox and contact those who programmed them, maybe they will let you in.
     
    • Thanks Thanks x 1
  4. santhej

    santhej Jr. VIP Jr. VIP

    Joined:
    May 26, 2010
    Messages:
    692
    Likes Received:
    202
    Gender:
    Male
    Occupation:
    Virtual Assistant Provider
    Location:
    Derby
    Home Page:
    i dont think so thats what the websites that offer the download of youtube videos do...there should be something diffeerent
     
  5. Humble

    Humble Registered Member

    Joined:
    Jul 17, 2010
    Messages:
    81
    Likes Received:
    51
    Occupation:
    Human
    Location:
    North American
    The downloader here is written in python

    Code:
    https://raw.github.com/rg3/youtube-dl/2012.01.08b/youtube-dl
    It might be a little complicated.
     
    • Thanks Thanks x 2
  6. santhej

    santhej Jr. VIP Jr. VIP

    Joined:
    May 26, 2010
    Messages:
    692
    Likes Received:
    202
    Gender:
    Male
    Occupation:
    Virtual Assistant Provider
    Location:
    Derby
    Home Page:
    its a bit complicated for a begginner for me to grasp the code..anyway thanks for your help
     
  7. blackhatchan

    blackhatchan Registered Member

    Joined:
    Jan 7, 2012
    Messages:
    51
    Likes Received:
    8
    Maybe with regular expressions, you may find a tag outside the movie file src and then copy the href attribute, something like that, i've maked something similar in other site with this and it works.