Would love this one tooLove APIs. Challenge Accepted!
Will start with this first thing my morning
What is this code for?i appreciate the man effort to challenge himself and code for free, i just publishing this kind of bot in my github but i use tor browser instead to change ip.
here is the code :
Python:import random import numpy as np from stem import Signal from stem.control import Controller from selenium import webdriver from selenium.webdriver.firefox.firefox_profile import FirefoxProfile import os import time from fake_useragent import UserAgent useragent = UserAgent() def switchIP(): #Channel Traffic from specific country or countries #controller.set_options({'ExitNodes': '{uk},{us},{ru}'}) with Controller.from_port(port = 9151) as controller: controller.authenticate() controller.signal(Signal.NEWNYM) def getproxy(portname,portp): torexe = os.popen(r'c:\\Users\\user\\Desktop\\Tor Browser\\Browser\\TorBrowser\\Tor\\tor.exe') profile = FirefoxProfile(r'C:\\Users\\user\\Desktop\\Tor Browser\\Browser\\TorBrowser\\Data\\Browser\\profile.default') profile.set_preference("general.useragent.override", useragent.random) profile.set_preference('network.proxy.type', 1) profile.set_preference('network.proxy.socks', portname) profile.set_preference('network.proxy.socks_port',int(portp)) profile.set_preference("network.proxy.socks_remote_dns", True) profile.set_preference( "javascript.enabled", False) profile.update_preferences() return webdriver.Firefox(firefox_profile= profile) def main(): clicks = random.randint(75,382) try: for i in range(clicks): try: delays = random.randint(1,45) delay = np.random.choice(delays) tmemail = random.randint(3,6) driver = getproxy("127.0.0.1", 9150) driver.get('your_website') time.sleep(tmemail) driver.find_element_by_link_text('your_link').click() time.sleep(tmemail) switchIP() driver.quit() time.sleep(delay) except: switchIP() driver.quit() time.sleep(delay) continue except: time.sleep(30) switchIP() driver.quit() if __name__ == "__main__": main()
What's this code for?Well I guess I gave up because it didn't really interest me at that time, but now since I discovered the trafilatura library I was going to give it a try again, but this code should work great.
Maybe you can work with me and my colleague. We are adding connections to our freelancer network and could provide you with projects and money as well.Got into python and I'm obsessed with it. But I'm not finding any real world problems to solve or automate. And having been around BHW for so many years there is only a set of problems that I'm actually interested in solving. I am deeply sorry for the hungry kids but NO I don't want to plot global hunger stats. I would like to code up stuff that makes getting rich easier.
So if you have anything that you'd like coded up in python, do post your requirement here.
Catch: the code would be opensourced and published on github, and probably on a thread under Making Money section too. So please do not ask me to make stuff that you'd like to keep proprietary.
So please challenge me. Please list out your requirements and I'll reply once I take it up. I can take only 1 project at a time.
I'd like to see what I'm worth to the IM community with my new found skill.
And please don't ask me to make a scraper. HTML traumatises me. If you need something pulled from an api I can definitely do that for you.
All discussions and requirements to be posted on this thread, there will be no private conversations. And if it is something that I would prefer not to work on, which I might if the work isn't challenging enough (or too challenging), please accept my apologies.
Beauty if u can do thisCan you make a clone of Jasper AI for me pls?