Awesome guide!
I made a simple scraper that writes the page to HTML. so I have an offline copy of the site, will your tuts work with the offline copy?
Hello, thank you! Yes, you can load the HTML from a file, instead of crawling. Please take a look at this article:
dev.to/sm0ke/html-parser-developer...
The relevant code snippet:
# read_file retun the file content as string html_content = read_file('index.html') soup = bs(html_content,'html.parser')
Happy parsing! .. <('_')> ..
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Awesome guide!
I made a simple scraper that writes the page to HTML. so I have an offline copy of the site, will your tuts work with the offline copy?
Hello, thank you!
Yes, you can load the HTML from a file, instead of crawling. Please take a look at this article:
dev.to/sm0ke/html-parser-developer...
The relevant code snippet:
Happy parsing!
.. <('_')> ..