Web development
$10-30 USD
Pagado a la entrega
Help with my Own script,search and grab string from list of pages using GPU and CPU power
Here is example of the script:
import random
import asyncio
from aiohttp import ClientSession
from bs4 import BeautifulSoup
async def fetch(url, session):
async with session.get(url) as response:
delay = response.headers.get("DELAY")
date = response.headers.get("DATE")
print("{}:{} with delay {}".format(date, response.url, delay))
return await response.read()
async def bound_fetch(sem, url, session):
# Getter function with semaphore.
async with sem:
await fetch(url, session)
async def run(r):
url = "http://10.20.30.51:8085/{}"
tasks = []
# create instance of Semaphore
sem = asyncio.Semaphore(3000)
# Create client session that will ensure we dont open new connection
# per each request.
async with ClientSession() as session:
for i in range(r):
# pass Semaphore and session to every GET request
task = asyncio.ensure_future(bound_fetch(sem, url.format(i), session))
tasks.append(task)
responses = asyncio.gather(*tasks)
await responses
number = 1000000
loop = asyncio.get_event_loop()
future = asyncio.ensure_future(run(number))
data = loop.run_until_complete(future)
I want to add search query (Keyword) if the keyword existing the loop end
you can use BeautifulSoup options
Nº del proyecto: #16454838
Sobre el proyecto
Adjudicado a:
Hello, This is Shyamala @ HAT. Hudson Agile Technologies LLC – A New Jersey Firm. Entity ID – 0450219485 We are head quartered in 30 Knightsbridge Rd Suite 525, Piscataway Township, NJ 0885 We are a Software T Más
12 freelancers están ofertando un promedio de $29 por este trabajo
Hi, I went through your requirement and feel comfortable to do this job. I have good experience in website design & development. Please initiate chat to discuss further.
Hello sir, - I have a good experience in google keyword planner, Google adwords,google analytics , - I worked as team player, remotely and in office. I know how to manage my time effectively. - I do not afraid Más
Hi there, We can decide rates from your side (price can be negotiated) Thanks for sharing basic requirements about the project. I have done many project web and app. i can understand your requirement very well becau Más
Hello, we can design & developed website very well. We have 8+ year experience with relevant skills. We have completed lots of project in our past. We believe in client satisfactions and delivery of work on time wi Más