Need help with bot

shubham44

Registered Member
Joined
Mar 18, 2012
Messages
56
Reaction score
56
guys i need help in making bot ...

This what i want from bot
a) 1st take text from csv or txt file.
b) paste at the end of the url
c) check the availability
d) save the available url in txt file

My Problem : i don't have an knowledge in programming lang .. and i don't know from where to start...

i need suggestion on which program should i use to code the bot ..
thanks in advance ...
 
You could easily do that in python. It is easy to learn too.
Here is how it should look like:

Code:
import urllib2
in_file = open('infile.txt', 'r')
out_file = open('outfile.txt', 'a')
for line in in_file.readlines():
    try:
        urllib2.urlopen('page_url%s' % line)
        out_file.write('page_url%s' % line)
    except:
        pass

This exact code will probably not work because I don't know what "check the avability" means but it is close.
 
You could do this in java with knowledge of sockets, file input and output, String substring method, etc..
 
Python can do that all really easily. And it is arguably the easiest language to write/debug in
 
examples or gtfo.

honestly though thats great.you ask how and get exact code examples. wish it worked for me. VB is what I use and it would also work for this easily.
 
Back
Top