Show HN: Flyscrape – A standalone and scriptable web scraper in Go
1–10 of 57 posts
Re: Show HN: Flyscrape – A standalone and scriptable web scraper in Go
#2Re: Show HN: Flyscrape – A standalone and scriptable web scraper in Go
#3Re: Show HN: Flyscrape – A standalone and scriptable web scraper in Go
#4Looks like it doesn't have the possibility of running it as a particular browser etc. Which I guess makes it fine for a lot of pages, but also a lot of scraping tasks would be affected. Am I right or did I miss something?
What is possible though, is to use a service like ScrapingBee (not affiliated) and set it as the proxy. This would render the page on their end, in a browser.
Re: Show HN: Flyscrape – A standalone and scriptable web scraper in Go
#5Re: Show HN: Flyscrape – A standalone and scriptable web scraper in Go
#6Looks interesting, and thank you for sharing this! One common issue with scraping web pages is dealing with data that is dynamically loaded. Is there a solution for this? For example, when using Scrapy, you can have Splash running in Docker via scrapy-splash ( https://github.com/scrapy-plugins/scrapy-splash ).
Re: Show HN: Flyscrape – A standalone and scriptable web scraper in Go
#7Looks interesting, and thank you for sharing this! One common issue with scraping web pages is dealing with data that is dynamically loaded. Is there a solution for this? For example, when using Scrapy, you can have Splash running in Docker via scrapy-splash ( https://github.com/scrapy-plugins/scrapy-splash ).
As a workaround one could use a service like ScrapingBee (not affiliated) as a proxy, that renders the page in a browser for you.
Surely, relying on a service for this is not always ideal. I am also working on a small wrapper that turns Chrome into an HTTPS proxy, which you could plug right into flyscrape. Unfortunately it is very experimental still and not public yet. I have not yet decided if I release it as part of flyscrape or as a separate project.
Re: Show HN: Flyscrape – A standalone and scriptable web scraper in Go
#8This looks great. I wish I had this a few months ago! Giving it a try.
Re: Show HN: Flyscrape – A standalone and scriptable web scraper in Go
#9I mean, at this point I am not sure Go is the right tool for the job (I am actually pretty confident that it is not).
A pretty neat stack of engineering, sure! This is cool, niely done. But I can't help but feel disturbed.
Re: Show HN: Flyscrape – A standalone and scriptable web scraper in Go
#10I like web scraping in Go. The support for parsing HTML in x/text/html is pretty good, and libraries like github.com/PuerkitoBio/goquery go a long way to matching ergonomics in other tools. This project uses both, but then also goes on to use github.com/dop251/goja, which is a JavaScript VM and it's accompanying nodejs compatability layer and even esbuild, in order to interpret scraping instruction scripts . I mean,…