OffWhiteHat's recent post about embedding YouTube videos in the comments of popular MySpace profiles to boost your video views gave me an idea for script.
Here is his post: Get a Bazillion YouTube Views | Off-White Hat
Basically you have to look around on MySpace for profiles that are popular (high friend counts), and allow HTML in the comments.
I wrote a PHP application to automatically scrape MySpace profiles, and identify the popular ones that do allow HTML in the comments.
Click Here to Download the .zip
It will run on pretty much any server that has PHP5 installed. All you have to do is extract the zipped files into any web accessible folder, then chmod the "files" folder, and all the files inside of it to 777. Visit that directory in a browser, and you're good to go.
Mostly Unnecessary Details
The script scrapes the specified amount of profiles (IDs), by searching for music profiles within a 10mi radius of a random zip code.
You can specify how many pages deep you want to go into the search results to retrieve IDs from before the script searches again from a new random zip code. Note: generally the first pages contain the more popular profiles.
There are throttling features to specify how long you want the script to wait between page retrievals. There are separate settings for searching, and checking profiles. The settings are in seconds, and allow float values (ie: .5 or 2.75).
When you search for profiles, the results will be shown to you in real time as the scrape is occurring. The same goes for checking profiles.
The home page of the program will tell you...
Thanks to OffWhiteHat for the idea.
Have fun!
Note: It is strongly suggested that you password protect your directory if your server is located outside your local network.
Here is his post: Get a Bazillion YouTube Views | Off-White Hat
Basically you have to look around on MySpace for profiles that are popular (high friend counts), and allow HTML in the comments.
I wrote a PHP application to automatically scrape MySpace profiles, and identify the popular ones that do allow HTML in the comments.
Click Here to Download the .zip
It will run on pretty much any server that has PHP5 installed. All you have to do is extract the zipped files into any web accessible folder, then chmod the "files" folder, and all the files inside of it to 777. Visit that directory in a browser, and you're good to go.
Mostly Unnecessary Details
The script scrapes the specified amount of profiles (IDs), by searching for music profiles within a 10mi radius of a random zip code.
You can specify how many pages deep you want to go into the search results to retrieve IDs from before the script searches again from a new random zip code. Note: generally the first pages contain the more popular profiles.
There are throttling features to specify how long you want the script to wait between page retrievals. There are separate settings for searching, and checking profiles. The settings are in seconds, and allow float values (ie: .5 or 2.75).
When you search for profiles, the results will be shown to you in real time as the scrape is occurring. The same goes for checking profiles.
The home page of the program will tell you...
- How many IDs have been scraped
- How many profiles have been checked
- -- How many of those profiles are "EMBEDable"
- -- How many of those profiles are not EMBEDable
- -- How many of those profile IDs are invalid
- How many EMBEDable profiles have been exported to CSV
- How many EMBEDable profiles are left to export to CSV
Thanks to OffWhiteHat for the idea.
Have fun!
Note: It is strongly suggested that you password protect your directory if your server is located outside your local network.