Multi Threaded Python scraper optimization project

În desfăşurare Postat la acum 4 ani S-au achitat serviciile după ce au fost prestate
În desfăşurare S-au achitat serviciile după ce au fost prestate

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 Arhitectură software Web Scraping

ID Proiect: #19700691

Detalii despre proiect

19 propuneri Proiect la distanță Activ acum 4 ani

19 freelanceri plasează o ofertă medie de 199$ pentru proiect

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 Mai multe

$155 USD în 3 zile
(33 recenzii)
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 Mai multe

$120 USD în 3 zile
(116 recenzii)
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 în 7 zile
(85 recenzii)
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 Mai multe

$150 USD în 3 zile
(99 recenzii)
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 Mai multe

$140 USD în 1 zi
(108 recenzii)
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 Mai multe

$500 USD în 3 zile
(33 recenzii)
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 Mai multe

$100 USD în 7 zile
(123 recenzii)
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 Mai multe

$250 USD în 3 zile
(7 recenzii)
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 Mai multe

$140 USD în 7 zile
(45 recenzii)
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 Mai multe

$200 USD în 3 zile
(30 recenzii)
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 Mai multe

$100 USD în 2 zile
(25 recenzii)
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 Mai multe

$140 USD în 7 zile
(6 recenzii)
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 Mai multe

$200 USD în 7 zile
(5 recenzii)
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 Mai multe

$500 USD în 10 zile
(2 recenzii)
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 în 3 zile
(5 recenzii)
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 în 7 zile
(1 părere)
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 Mai multe

$111 USD în 3 zile
(0 recenzii)
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 Mai multe

$30 USD în 2 zile
(0 recenzii)
0.0