1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

youtube id scrape

Discussion in 'Black Hat SEO' started by sonnen, Jan 20, 2012.

  1. sonnen

    sonnen Junior Member

    Joined:
    Feb 26, 2011
    Messages:
    106
    Likes Received:
    3
    Hi,

    I am looking for a fast bot that can scrape id from youtube comment page. The bot that use API would be nice. Tubetoolbox can do this but it is not using api so it is super slow.

    Anyone know?

    Thanks
     
  2. kokoloko75

    kokoloko75 Elite Member

    Joined:
    Jan 1, 2011
    Messages:
    1,628
    Likes Received:
    1,935
    Occupation:
    Design director
    Location:
    Paris (France)
    What is "id from youtube comment page" ?
    You mean username from people who commented a video ?

    Beny
     
  3. sonnen

    sonnen Junior Member

    Joined:
    Feb 26, 2011
    Messages:
    106
    Likes Received:
    3
    yes username from people who commented a video
     
  4. Gipsy Kings

    Gipsy Kings Junior Member

    Joined:
    Jun 15, 2011
    Messages:
    145
    Likes Received:
    28
    Location:
    Offshore Islands
    Youtube friend bomber will do the job ,, scraping even sending msgs or adding 'em as friends .
     
  5. kokoloko75

    kokoloko75 Elite Member

    Joined:
    Jan 1, 2011
    Messages:
    1,628
    Likes Received:
    1,935
    Occupation:
    Design director
    Location:
    Paris (France)
    Ok, so it's easy.

    Imagine you have an URL of a YouTube video, like :
    Code:
    http://www.youtube.com/ watch?v=yk0brmgEPgU
    With Notepad you'll search-and-replace "watch" by "all_comments".
    You URL will looks like :
    Code:
    http://www.youtube.com/all_comments?v=yk0brmgEPgU
    Now, you'll need a regular expression extractor, like this one :
    Code:
    http://codecanyon.net/item/regex-extractor-extract-everything-simply-/1327433
    You'll use this regular expression to extract all usernames :
    Code:
    dir="ltr">.*</a>
    Example :

    [​IMG]

    Then export to file all extracted results and open the file with Notepad.
    To finish, use search-and-replace to replace "dir="ltr">" by nothing ; and again for "</a>".

    [​IMG]

    And you'll have the list of all users who commented the video.

    Good luck !

    Beny
     
  6. sonnen

    sonnen Junior Member

    Joined:
    Feb 26, 2011
    Messages:
    106
    Likes Received:
    3
    Hey Thank you for the answer, but i cant run it. It is keeping giving me handle exception error.