Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to read and parse a local html file. #260

Open
scharada opened this issue Aug 21, 2024 · 1 comment
Open

How to read and parse a local html file. #260

scharada opened this issue Aug 21, 2024 · 1 comment

Comments

@scharada
Copy link

Hi. i have tried the framework with a site, hotels dot com. it looks like the site is able to detect it is a scraper and fails from the very first request (the same request works in edge or chrome.)
i am not sure if dotnetspider is able to avoid that.

as an alternative, if a save the page from edge as html. i get the data i need but i am unable to read it and parse. that's what i am looking for, in case there is no solution for the live request.
thanks in advance.

@zlzforever
Copy link
Collaborator

new Request("file://... local path"){
Downloader = nameof(FileDownloader),

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants