An open source API for web scraping
github.com
An open source API for web scraping
1–10 of 11 posts
Re: An open source API for web scraping
#2https://falkor-api.herokuapp.com/api/query?url=http://digg.c...
Re: An open source API for web scraping
#3https://falkor-api.herokuapp.com/api/query?url=https://news....
Re: An open source API for web scraping
#4Very interesting though. Just tried scraping twitter and it works great: https://falkor-api.herokuapp.com/api/query?url=https://twitt...
Edit: works great as long as there are no quotes, hashtags, or links in the tweets. Is it possible to include sub-elements?
So basically this is a DOM API in JSON. Simple, but I like it.
Any plans to add JSONP support?
Re: An open source API for web scraping
#5Title should probably contain 'Show HN:' ? Very interesting though. Just tried scraping twitter and it works great: https://falkor-api.herokuapp.com/api/query?url=https://twitt... Edit: works great as long as there are no quotes, hashtags, or links in the tweets. Is it possible to include sub-elements? So basically this is a DOM API in JSON. Simple, but I like it. Any plans to add JSONP support?
Only really started hacking around on the idea the other day so early stages. Want to add filters so you can say "grab me only the text" or "grab me just the class names". Obviously another step would be to grab multiple elements in one request.
Re: An open source API for web scraping
#6Adding xPath support as well as CSS selectors would be a good addition.
Re: An open source API for web scraping
#7Cool idea. This could easily be extended to support something like a proxy pool; that way you can rate limit / rotate proxies for X domain globally at this server level. That way it's across all your projects, rather than having to do it on a per project basis. Adding xPath support as well as CSS selectors would be a good addition.
Re: An open source API for web scraping
#8https://web.archive.org/web/20140420162639/http://scrape.ly/
For example if you wanted the profile of authors of today's stories
http://scrape.ly/s/{http://news.combination.com}
{'ueoma87'}*{'next':'Next Page'}{'karma':'331',
'username':'ueoma87'}
Would've returned all the profiles of each story's author today and yesterday and so on.Re: An open source API for web scraping
#9Re: An open source API for web scraping
#10Pretty interesting. Wrote a web scraping api you can paste in to your browser and download results last year but took it down to work on another project. You can take look at what a url could look like. https://web.archive.org/web/20140420162639/http://scrape.ly/ For example if you wanted the profile of authors of today's stories http://scrape.ly/s/{http://news.combination.com} {'ueoma87'}*{'next':'Next Page'}{'karma…