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

Parse multiple local html files instead of keywords #76

Open
pankajjha-cd opened this issue Jun 3, 2020 · 1 comment
Open

Parse multiple local html files instead of keywords #76

pankajjha-cd opened this issue Jun 3, 2020 · 1 comment

Comments

@pankajjha-cd
Copy link

pankajjha-cd commented Jun 3, 2020

Hi,

Thanks a lot for this great package. This is an awesome package and really worth all the starts it gets.

I was wondering how can I feed multiple local html files to the scraper instead of keywords.

So basically I just want to use the parser module of the package to scrape html files that are already downloaded in the local file system.

I see there's a scrape_from_file config option but it takes a single file and still needs a keyword array(even though the scrapper doesn't use the keyword).

may be something like scrape_file_loop instead of keyword scrapping loop where I can assign an array of files or URLs that are ready to parse.

Is there any way I can achieve this?

@pankajjha-cd pankajjha-cd changed the title Scrape the page using html sourcecode Parse multiple local html files instead of keywords Jun 4, 2020
@HugoPoi
Copy link
Contributor

HugoPoi commented Jun 17, 2020

I provided this https://www.npmjs.com/package/google-html-parser

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