Improve webpage scrapping solution -- 3

Mbyllur Postuar 3 vite mё parё Paguhet në dorëzim
Mbyllur Paguhet në dorëzim

Request details

I developed a Java program to scrap information from a website. The architecture of the solution involves: 1) using Java Selenium to send requests to the webpage via Chrome Webdriver to trigger authentication and authenticated requests; 2) routing the requests from Chrome (headless) to Java BrowserMobProxy to capture three HTTP headers (Authorization, X-CSRF-TOKEN, and Cookie) and one query string (without these, the server after some requests starts responding 512); and 3) use these 4 elements in HTTPs requests from Java directly to the webpage (i.e. without Selenium, Chrome, and BrowserMobProxy involved) to retrieve the desired information.

This program does the basic functionality of extracting the information but has a few problems:

It depends on an external non-Java component: Chrome WebDriver

It depends on Java Selenium and Java BrowserMobProxy, two dependencies that I would like to remove

It is not optimized (too much refresh and too long sleep periods) relatively to the limit upon which the Webpage (Cloudfare) starts responding 429 errors. Thus, the retrieval of the information is taking much more time than needed.

Deliverables

You will get the current program Java code and you will need to solve the problems above. To do so, you will need to:

A. Find out how to authenticate and refresh the 3 headers and the query string without depending on Selenium, Chrome Webdriver, and BrowserMobProxy. As most of this data is likely generated in JavaScript, you will need knowledge about JavaScript and how to execute JavaScript from within Java or convert the JavaScript code to Java (preferable solution).

B. You will need to identify the limit upon which the Webpage (behind Cloudfare) starts responding 429 errors. You will need to tune the refresh frequency of the headers and sleep periods to the limit identified. You will need to demonstrate the benefits of your changes by extracting the information currently extracted by the program and measuring how long it takes.

Note: you will need to create your own login/password in the webpage. No additional requirements exist to register.

Java JavaScript Nxjerrje të dhënash nga interneti Python Arkitekturë softuerësh

ID Projekti: #26818015

Rreth projektit

8 propozimet Projekti në distancë Aktiv 3 vite mё parё

8 profesionistë freelancer dërguan një ofertë mesatare prej $141 për këtë punë

sodiqa32

Hello, I am pleasure with your job as detailed. Thank you for the job posting. It’s a pleasure to meet you. I’d really like to work with you on this one if possible! I do have a couple of questions, but first I’d like Më shumë

$30 USD për 1 ditë
(48 Përshtypje)
6.3
Demenntor

Dear Employer, I have read the project details and confident to work on improving web scraping solutions. I have extensive knowledge on Java, javascript, python,web scraping, software architecture,etc . Kindly messag Më shumë

$222 USD për 3 ditë
(36 Përshtypje)
5.3
juneadkhan

Hello Sir! I am a web scrping expert, I think I'm a great fit for this project. because I have an interest in your project and can deliver on time, according to your specifications Thanks

$140 USD për 7 ditë
(8 Përshtypje)
4.4
Nowrajkhan

hello sir❤ I am reading your post. I am very interested to work on this post. I hope you believe in a great job on me. I hope you will handover this work to me. I hope you will be very happy to see my work Më shumë

$222 USD për 4 ditë
(0 Përshtypje)
0.0
NikitaYas

Good day. I'm interested in your project. I have about 3 years of scraping and 6 years of python programming experience. A big plus of using python is that everything will be automated and that I can write a program qu Më shumë

$140 USD për 7 ditë
(0 Përshtypje)
0.0