Re:Web Scraping with Electron
by rasengan on Saturday March 09, 2019 @09:29AM
(#19346237)
You can access the html of the website and use regular expressions.
[ Parent
| on HN ]
> You can access the html of the website and use regular expressions.
Yes but using regular expressions is the last and least recommended solution, please read : https://stackoverflow.com/questions/3577641/how-do-you-parse...
If you read that link, it’s only not recommmended because people don’t know how to use it. Regular expressions are powerful.
Re:Web Scraping with Electron
by stareatgoats on Saturday March 09, 2019 @06:07PM
(#19349124)
Read the link. Just wondering how you managed to interpret this:
> regular expressions is a waste of time when the aforementioned libraries already exist and do a much better job on this.
as this:
> it’s only not recommmended because people don’t know how to use it
> https://stackoverflow.com/questions/3577641/how-do-you-parse...
It says "can make regex fail when not properly written" etc.
There are different circumstances where using a premade parsing library versus using raw regular expressions are going to make sense.
The answer is not binary.
I thinking that was the joke
Re:Web Scraping with Electron
by stareatgoats on Saturday March 09, 2019 @06:15PM
(#19349165)
You're thinking of another post [0]. Not a joke either, really
[0] https://stackoverflow.com/questions/1732348/regex-match-open...
Re:Web Scraping with Electron
by ritz_labringue on Saturday March 09, 2019 @11:57AM
(#19347051)
I can't not mention this infamous SO answer:
https://stackoverflow.com/questions/1732348/regex-match-open...