paying 4$ for simple imacro link extractor

Status
Not open for further replies.
Do you think that someone who know how to do that, would do that for 4$ ?
 
I got a guy on fiverr that does this type of thing for $5, well I dont know if yours would cost only $5 because its long as hell

PM me if u want his info
 
Requirements:
- Python2.7
- bs4
- requests
Code:
from requests import session
from bs4 import BeautifulSoup as BS
import os


def banner():
    print("______________________________________________________________________________")
    print("  _____      ___     __              ____        _                            ")
    print(" / ____|    | \ \   / /             |  _ \      | |                           ")
    print("| |  __  ___| |\ \_/ /__  _   _ _ __| |_) | ___ | |_ ___   ___ ___  _ __ ___  ")
    print("| | |_ |/ _ \ __\   / _ \| | | | '__|  _  / _ \| __/ __| / __/ _ \| '_ ` _ \ ")
    print("| |__| |  __/ |_ | | (_) | |_| | |  | |_) | (_) | |_\__ \| (_| (_) | | | | | |")
    print(" \_____|\___|\__||_|\___/ \__,_|_|  |____/ \___/ \__|___(_)___\___/|_| |_| |_|")
    print("______________________________________________________________________________")
    print("\n")
 

profilesFile = os.getcwd() + '/profiles.txt'

banner()

pagesNo = raw_input('[+] Give number of pages: ')
pagesNo = int(pagesNo)
pagesNo += 1
with session() as s:
    for pageNo in range(1, pagesNo):
        newLinks = []
        print '[+] On page: ' + str(pageNo)
        source = s.get('http://www.amazon.com/review/top-reviewers/ref=cm_cr_tr_link_2?ie=UTF8&page=' + str(pageNo)).text
        soup = BS(source)
        table = soup.find('table', {'class':'crDataGrid'})
        links = table.findAll('a')
        for link in links:
            try:
                realLink = link['href']
                if 'profile' in realLink:
                    newLinks.append(realLink)
            except:
                pass
        
        newLinks2 = list(set(newLinks))
        with open(profilesFile,'a') as f:
            for l in newLinks2:
                f.write(l + '\n')

print '[+] Done!'
 
does that really work? frickin awesome if it does

+1 and a Hip Hip hooray for handmadebots
 
I'm totally confused on what exactly this would do for you/business? Is it using the reviews to input on your site? :hmmmm2:
 
I can do for that amount if you still interested. send me pm
 
Status
Not open for further replies.
This thread has been auto closed due to the forum's thread age policy. Read more.
Back
Top