Multi Threaded Python scraper optimization project

Pågår Lagt ut 4 år siden Betales ved levering
Pågår Betales ved levering

I have a proxy supported python scraper hosted on Heroku using Django framework that does the following:

1) user input a list of keywords

2) scraper goes to [login to view URL] and searches for each keyword and returns product information for the first page of search results for each keyword (usually 60 products per keyword). Product information scraped includes title, description, features, review rating, price, seller, etc. It also use [login to view URL] api to return google keyword planner search volume data for each search term.

3) when complete it exports the data to a spreadsheet

The scraper is fully functional and no issues there.

The issue i am having is my scraper is using too much memory and will abruptly stop with it hits the usage limit on my heroku account (1GB). I am looking for someone with experience troubleshooting and optimizing python scraping code that could make my scraper run more efficiently. There may be a smoking gun that is the main cause of the memory leak.. im not sure. See attached image of the heroku metrics page showing the memory spike.

If it cannot be optimized further than it already is, my last resort I can think of is to restrict the number of scraped results for a given keyword (for example 25 scraped product results per keyword) so the export file doesn't return 60 results per page, thereby reducing the time it needs to run and memory used. This would also require altering the code that restricts the number of keywords the user can search on each run.

The deliverables for this project include:

1) optimizing the source code (currently on Heroku) so i can scrape a minimum of 10 keywords & 25 results/keyword per run without the scraper stopping.

2) I also have a couple really simple tweaks i need made to fix a couple fields in the export data.

I'm hoping to find someone with strong experience with python scraping, Django, and proxies that can fix my problem simply and quickly. I have a lot of future work possibilities for someone highly skilled in python web scraping. Please message me with further questions.

Django Python Programvarearkitektur Nett-scraping

Prosjekt-ID: #19700691

Om prosjektet

19 bud Eksternt prosjekt Aktiv 4 år siden

19 frilansere byr i gjennomsnitt $199 for denne jobben

umg536

Hello there, This is a default bid made. we'll discuss the price later in the chat after reading your project i can do this for you perfectly.I still have a few questions. please leave a message on my chat so we can di Mer

$155 USD på 3 dager
(33 Omtaler)
7.1
Mickelson

Hi Nice to meet you. I have enough experience in python script. Below the libraries are I used in past project. selenium, pandas, matplotlib, lxml, beautifulsoup, scipy, and other useful libraries. I have written Mer

$120 USD på 3 dager
(116 Omtaler)
6.9
ValueCoders

Hi There, I can do it very quickly & effectively. I'm having more than 18 years of web development experience. Looking forward to work with you! Thanks!

$500 USD på 7 dager
(85 Omtaler)
6.8
kipdev13

Hello,how are you? I have experiences for many years about python programming. I have done your proposal quickly and then u will get best result. I will do my best for you and you will be gotten best results Plz c Mer

$150 USD på 3 dager
(99 Omtaler)
6.5
lightingdavid

Hello. I 'm expert in "Django, Python, Software Architecture, Web Scraping" and I have working for 7+ years in this field. I 'm very interest to your project. I have checked your project description carefully and i Mer

$140 USD på 1 dag
(108 Omtaler)
6.1
NavyaSales

Hi, I am an ex-Microsoft employee, an expert web scraper and an experienced all-round Python/Django developer. I am working with e small team of talented developers and am confident of optimizing your Python scrapin Mer

$500 USD på 3 dager
(33 Omtaler)
6.0
Stephenrajs

(if you choose me please atleast send "HI" message, if you invite the project i can't respond you, this is freelancer rules. So its my request) Hi there, I have scraped amazon, aliexpress, yellow pages,yelp,zoma Mer

$100 USD på 7 dager
(123 Omtaler)
5.8
apextechnomatics

Hello, Hope you are doing well, I have in-depth technical knowledge on Python, Flask, Node.js, JavaScript, PostgreSQL Administration, Django, MySQL, MongoDB, XML-RPC services, stores, ERP/CRM portals and implement Mer

$250 USD på 3 dager
(7 Omtaler)
5.2
ymograi

Sir/Madam, I am an experienced Python Developer. I have built Amazon keyword scraper which is very efficient in scraping the keywords from the amazon website. I believe I can fix it for you. I look forward to working w Mer

$140 USD på 7 dager
(45 Omtaler)
5.3
BestService222

Dear, Sir. Nice to meet you. I read your project description carefully and am very interested in working for your project. I am able to provide the best product with awesome and good performance and offer a good resu Mer

$200 USD på 3 dager
(30 Omtaler)
5.2
kkc1985612

Hi, I looked at your description carefully and I am very interested in providing my skills in hopes of working with you. I have ample experience in web scraping. -scrap any website using selenium, beautifulSoup, reques Mer

$100 USD på 2 dager
(25 Omtaler)
5.0
JinTaiZhe

Hi I am pleased to submit my qualifications to you. I am very happy to work with you on this proposal I have read your description carefully and I am very interested in your project. I have rich experience in web scr Mer

$140 USD på 7 dager
(6 Omtaler)
4.4
todo2095

hi there, i read your description, that's good and i am sure i can do it. I am a senior full stack developer. So I am sure I can bring you perfect result as you want within short time. I’m ready to start your project i Mer

$200 USD på 7 dager
(5 Omtaler)
3.5
tascoin

Hi Sir/Ma'am, =>Having expertise with Python, Selenium, Django, OpenCV, Flask =>Experience with Node.JS, APIs, MongoDB, Postgres SQL, AWS =>Experience with back-end development & custom coding =>Experience of working Mer

$500 USD på 10 dager
(2 Omtaler)
2.4
SuperM88

Hi there . I am a Python expert, and after reading your requirements caredully, I am sure I can write an Python application for you thatbcan scrape the Amazon sites

$88 USD på 3 dager
(5 Omtaler)
2.4
sinancetinkaya

I don't know which scraping technique the previous developer has used. You have to show us the code. Then we can bring you ideas to optimize your code.

$200 USD på 7 dager
(1 anmeldelse)
1.0
Mindlarz

We are a web developing and designing company with various other facilities such as web content and digital marketing related to all types of specializations. Additional considerations and implementations are assisted Mer

$111 USD på 3 dager
(0 Omtaler)
0.0
casey805

Hi, I just had this issue myself. I was using Scrapy with Django and Python as well (to scrape Amazon) and my memory was spiking like no other! It took me two weeks but I finally tracked down what was happening. I'd be Mer

$30 USD på 2 dager
(0 Omtaler)
0.0