whimtrip / jwht-scrapper Goto Github PK
View Code? Open in Web Editor NEWFully Featured Java Scrapping Framework, highly pluggable and customizable
License: MIT License
Fully Featured Java Scrapping Framework, highly pluggable and customizable
License: MIT License
Hi, im currently parse website that require authentication for access to some content.
So I log in with browser, copy all created cookies and add them with each parse request.
void editRequest(BoundRequestBuilder req, * *, * *) {
cookieService.cookies.each { req.addCookie(it) }
}
That works like a charm until website change cookies in response - short after this my cookies are invalid and we dont receive desired response.
When I was looking for access to the response headers information like "set-cookie", I found this:
public final class RequestCoreHandler
public String getResponse() {
response = resp.getResponseBody();
**
**
return response;
}
As i see we dont have any access to response information therefore we can't react to website response changes by any way except of response body.
Can we have access to other response information? Because in our case - we need it to correct following parse requests by headers (set-cookie), received in response.
What do you think about it? (if you want me to change it by myself - give at least some advice please).
Hi
With the help your API how to extract data from the following url?
https://www.icicidirect.com/idirectcontent/Research/TechnicalAnalysis.aspx/companyprofile/inftec
mainly i need table data. Second thing in same session or after this url call how to get data from other url which you can find left hand side of this Page?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.