Thursday, March 6, 2008

Bot to increase myspace video view count. Sample Perl/Python/PHP code

Suppose you have a video at myspace, and now you want to increase the video view count for that video. How to do that? As you know myspace is always using the XML service to handle most of the things. When the browser loaded, that XML service called to increase the view count. Suppose you have uploaded a video linked at http://vids.myspace.com/index.cfm?fuseaction=vids.individual&VideoID=2841784. Just extract the video ID. and use the below Perl script to increase the video view count.

-------------------------------------------------------
I'm giving an example of perl script to increase the video view count. Just put your perl code under a loop according to your desired number.


use LWP::UserAgent;
use HTTP::Request::Common;

my $id = 2841784;
my $url = "http://mediaservices.myspace.com/services/media/video.asmx/IncrementVideoPlays?videoID=$id&token=29254735542157_ec2&versionID=1";
my $ua = LWP::UserAgent->new;
$ua->agent('Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/2006120418 Firefox/2.0.0.1');
my $req = HTTP::Request->new(GET => $url);
$req->content_type('application/x-www-form-urlencoded');
my $res = $ua->request($req);


Thats it. If you want to add proxy support with your script. Just add this inside your script.


my $ua = LWP::UserAgent->new;
my $proxy_url = "http://78.29.232.10:8080/";##change your ip and port
$ua->proxy('http', $proxy_url);


-------------------------------------------------------
If you don't know perl scripting. Here is the php code to crack. Just use the curl. Use the below code inside your loop to increase the video view count. You can use proxy support with curl. Just check the proxy of your own. If you don't know hot to set proxy with curl. I'll help.


$id = 2841784;
$url = "http://mediaservices.myspace.com/services/media/video.asmx/IncrementVideoPlays?videoID=$id&token=29254735542157_ec2&versionID=1";

$ch = curl_init();
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); ## return the content into a variable
curl_setopt ($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_TIMEOUT, 20);
curl_setopt ($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11');
$content = curl_exec ($ch);
curl_close ($ch);


Now you don't know curl, or not interested, or not exist with your apache. Then more simpler code. Just use inside your loop to increase the video view count. Only drawback of this is, you can't add any proxy with this function.


$id = 2841784;
$url = "http://mediaservices.myspace.com/services/media/video.asmx/IncrementVideoPlays?videoID=$id&token=29254735542157_ec2&versionID=1";
file_get_contents($url);


-------------------------------------------------------
For python lovers, here is the below code to use. Just use the code inside your loop. If you need more help on python, just look at http://love-python.blogspot.com/ This guy is the best in python so his blog. Ask him for more help on python.


import urllib2

id = "2841784";
url = "http://mediaservices.myspace.com/services/media/video.asmx/IncrementVideoPlays?videoID="+id+"&token=29254735542157_ec2&versionID=1";
opener = urllib2.build_opener()
opener.addheaders = [('User-agent', 'Mozilla/5.0')]
usock = opener.open(url)
url = usock.geturl()
data = usock.read()
usock.close()


Thats it friends, If get compile error or any thing. just kick me, i'll fix for you guys soon of my best.

16 comments:

Anonymous said...

Take this down, whats wrong w/ you. Like 5 people know about this and your announcing it for the world to see and MySpace to change. Use it for your own benefit - duh.

Anonymous said...

I found the following scripts that control the adding of friends on MySPace. Can you find the string of code in here that would automatically send a friend request w/o verification or CAPTCHA :

http://messaging.myspace.com/Modules/Messaging/Services/AddFriendRequest.asmx/js
http://messaging.myspace.com/ScriptResource.axd?d=UXu_uD5emSdqpAhN8h6-q07ZqaMkPKJ2ziuAk63eE64dFpIL3S2rFTf4gPqx4pjhcvT5eA4gScpN_p9zxxc2OA2&t=633215898000000000
http://messaging.myspace.com/WebResource.axd?d=H-FoKuH8-LanzMW_rfXCLQ2&t=633427814729862922
http://x.myspacecdn.com/modules/messaging/static/js/addtofriendsrequestdotnet-004.js
http://x.myspacecdn.com/modules/common/static/js/myspacejs048.js
http://x.myspacecdn.com/modules/messaging/static/js/addtofriendsrequestdotnet-004.js
http://messaging.myspace.com/ScriptResource.axd?d=UXu_uD5emSdqpAhN8h6-q07ZqaMkPKJ2ziuAk63eE64dFpIL3S2rFTf4gPqx4pjhcvT5eA4gScpN_p9zxxc2OA2&t=633283128600000000

Let me know... I am doing my best to dredge along the code and look for the right string.

tmcresponse@idassite.com

Anonymous said...

Will this work with metacafe videos?
If so please Pm me.

Royal Jelly said...

yeah..
did someone know where to get Metacafe bot viewer..?
if yes,please pm me at royal.jelly@rocketmail.com

Anonymous said...

Quite a few people knew of this Code actually, However since the ne winstallation of the Flash Myspace Player this is no longer working. I am after a code to Artificially manipulate the comment number on my Myspace, I.E it says 'View all 2344 comments' and I'd like to change the number from that to higher. Anybody know how?

Anonymous said...

This is cheating i'm glad its now been changed!


House share worldwide

Anonymous said...

NEW myspace profile view increaser http://rapidshare.com/files/207323188/MyspaceViews.zip

Anonymous said...

dude, can you repost the MyspaceViews.zip?

Anonymous said...

Great post and helps a lot of people however i know a very cheap bot for people that are scared to attempt creating their own. This bot only costs £2.99 so its quite cheap its runs actually fast. If course this creating our own is the best way as you have that feeling of proudness but as i said for people that still dont get it or are scared heres the link : http://www.myviewbot.com/

Anonymous said...

Interesting, but I was actually looking for a software like this one http://bit.ly/cFTB88

I bet you didn't think of that one. :)

Anonymous said...

Hey, you seem to be pretty web savvy. I am looking for someone to do some programming for me. Send me an e-mail if you would like to hear what I have in mind.

Guglielmone @ ucla . edu

Anonymous said...

Hi!
I found an interesting application to add views on myspace profile.
I checked and it works perfectly.



More: http://freemyspacebot.com/

Maybe someone need it.


Regards.

Symone said...

Great to know info. within these articles.

Pls. subscribe to my link: http://www.youtube.com/watch?v=K0jvh4z_LGW

This Song is dedicated to all Military Troops and Their Families. Thx.

Symone said...

Great to know info. within these articles.

Pls. subscribe to my link: http://www.youtube.com/watch?v=K0jvh4z_LGW

This Song is dedicated to all Military Troops and Their Families. Thx.

akash said...

i want to increase my video view on you tube,so can you tell me how it is possible to more and more view in short time,please suggest me,its an important,plz

Anonymous said...

One can also you this simple script in powershell

$i = 1

do { Start-process http://www.youtube.com/watch?v=0y0w1xcJmu8&feature=player_embedded $i; $i++}

while ($i -le 20)

Get function name programaticaly - Python

This little piece of code will help you to get the function name programatically. This is very helpful when you are implementing the debug...