Pulling data from tube sites

Discussion in 'PHP' started by holden30, Jun 26, 2009.

  1. #1
    Anyone know a way to pull data from many of the adult tube sites?

    Basically I am trying to create a search engine for these sites, and I want to pull the thumbnail, video title, length, etc... Any ideas?

    Thanks!
     
    holden30, Jun 26, 2009 IP
  2. Wrighty

    Wrighty Peon

    Messages:
    199
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You will need to look at file_get_contents & then you'll need to parse it somehow - either using regexp or something else! :)
     
    Wrighty, Jun 26, 2009 IP
  3. holden30

    holden30 Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks! I'll look into it....
     
    holden30, Jun 26, 2009 IP
  4. Connor Beaton

    Connor Beaton Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    A number of adult video sites try to avoid hotlinking, so you'll probably have to fake your referrer too.
     
    Connor Beaton, Jun 26, 2009 IP
  5. AODSolutions

    AODSolutions Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Search "php scraper script" on google, you can find lots of sample code, start with any of them.
     
    AODSolutions, Jun 26, 2009 IP
  6. buchin

    buchin Active Member

    Messages:
    156
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #6
    if the tube is using rss then it will be easier.. se simplepie.org
     
    buchin, Jun 26, 2009 IP
  7. jucktion

    jucktion Peon

    Messages:
    213
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #7
    ya getting data from adult website would be easy but i don't think all the sites will have rss and he is trying to make a search engine for all the sites.
     
    jucktion, Jun 26, 2009 IP
  8. holden30

    holden30 Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Thanks for the input. Acutally, I have seen a few of these search sites around. The big problem is that they break so easily once the tube site changes their code to prevent hotlinking.

    My idea is to make a true search engine, where instead of playing their videos on my page and putting my ads up, the user is linked to the tube's page and the tube owner gets the ad money. This is with the exception of the search pages themselves.

    It would be nice to hotlink the preview image, but if I have to I will host the image myself to avoid future issues with script changes on the tube site.

    I think there are alot of adult websmasters out there who lack integrity and honestly I would rather have a good site and only make half the money I could be making.

    I have a great domain for this that I have been sitting on for quite sometime and finally decided to get around to it.

    If anyone wants to develop this script, send me a PM. Maybe we can work out a profit split. I have the domain and hosting, you write the script. Otherwise, I appreciate all the input and will work on doing it myself.

    Thanks!
     
    holden30, Jun 27, 2009 IP
  9. Wrighty

    Wrighty Peon

    Messages:
    199
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #9
    PM sent :)
     
    Wrighty, Jun 27, 2009 IP