Making a bot from scratch (Journal)

yeah i'm confused too i think i'll start learning python (again,as python was my first language that i have tried to learn) take a look at this bot video:
Dang...
anyway...

results of today:
nothing much just downloaded this pdf and learning the basics of sending http requests...
 
Also, you might want install LiveHTTPHeaders with firefox (fiddler or wireshark would work too, but think they might be more daunting for someone learning...) browse the web, submit forms and it'll make it immediately MUCH CLEARER how the http protocol looks like.. :)
Look in the programming section here at BHW, there's some decent info in there to get you startedIn fact here's a good book "HTTP Programming Recipes for C# Bots" to help you get familiar with web requests, responses, post, get, etc.http://www.blackhatworld.com/blackhat-seo/c-c-c/445326-get-heaton-http-programming-recipes-c-bots.html
 
C++ and PHP are the most used when it comes to YouTube bots. Just throwing that out there.
C++ is barely used for bots, let alone YouTube bots. And PHP... really?

@OP: C# is your best choice.
 
Whats the benefits of c# over VB ? Their both .net afaik and seem pretty similar to me. Just like to know as i'll concentrate more time on c# if theres the right reasons. Maybe better to pick up c++ after learning c#?
 
Whats the benefits of c# over VB ? Their both .net afaik and seem pretty similar to me. Just like to know as i'll concentrate more time on c# if theres the right reasons. Maybe better to pick up c++ after learning c#?
http://blogs.msdn.com/b/csharpfaq/archive/2004/03/11/what-are-the-advantages-of-c-over-vb-net-and-vice-versa.aspx
 
THANKS A LOT GUYS FOR ALL THE HELP... :)...MEANS A LOT TO ME...all right....one stupid question though...is visual basic 2010 any good in coding C#??Or should I get another software..??>_<...sorry for these silly questions...As I just started learning...
 
Just the 'using' statement from what i can see.
 
http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-csharp-express

for me though i think i prefer vb. not case sensitive. auto indents on the editor better. easier to pickup imo
Learning C#'s syntax will get you into the "right" coding habits, and is very easy to learn other languages such as PHP.
 
Good luck in your journey of learning to code, I will follow you soon. I also had vb 2010 installed, anyway the express version is limited to basic functions I think.
 
I release a ton of bots I code for free in the member downloads section and have released a program of my own in the past so I know a thing or two about making bots.

I first learned Visual Basic but didnt like it too much so I switched to C#. Both have similar syntaxes but the C# one is better in my opinion because it allows an easier transition to other languages like Java or C++.

I recommend try to learn as much as you can and to research as much as possible. What really helped me out is going on Youtube and looking at EVERY C# tutorial video they had and applying it. The more you practice code the more it gets imprinted in your mind and the easier it is.

Just keep learning, keep practicing, and you'll be good.

Good luck!
 
Dang...
anyway...

results of today:
nothing much just downloaded this pdf and learning the basics of sending http requests...

Honestly, since your a beginner coder I wouldnt recommend learning webrequests just yet. First learn automation using the web browser control in VB and/or C# then slowly move onto web requests.
 
First things first. Learn the basics, for ex, on Visual Basic you have many tutorials, from creating a Picture Viewer to a "complex" game. There are also great video tutorials on Youtube, make sure you watch them all. Last but not least, Google is your best friend.... read read read read read read and read some more :)


I coded my own "bot" just by reading/watching/trying many general/webrequest tutorials, reading exhaustively SpK topic and the AWESOME posts by tb303 (thanks bro). And that's the best thing that could ever happen to me, cause now I can create something customized to my own personal needs.


"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime."

Good luck!
 
Last edited:
Tell us if you made one with a video demo, can't wait to see it. Good luck. :)
 
Thanks a lot...I donno how much will it take me but I'll try my best... :)
 
maybe this can help you

in "requeststring" your have to put your request as explained by SPK
Code:
                var requeststring = "h**p***s.youtube*c*m/s?on3g=0&app=youtube_mobile&preq=*******************";
                
                HttpWebRequest request = (HttpWebRequest)WebRequest.Create(requeststring);


                request.KeepAlive = true;
                request.Referer = "h**p***m*youtube*c*m";
                request.Method = "GET";
                request.UserAgent = "Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543a Safari/419.3";
                request.Timeout = 10000;
                request.ReadWriteTimeout = 10000;
                request.Host = "s.youtube.com";
                request.Accept = "*/*";
                request.Headers.Add("Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3");
                request.Headers.Add("Accept-Encoding:gzip,deflate,sdch");
                request.Headers.Add("Accept-Language:it-IT,it;q=0.8,en-US;q=0.6,en;q=0.4");
 
Back
Top