4 ms·
Title should probably contain 'Show HN:' ? Very interesting though. Just tried scraping twitter and it works great: https://falkor-api.herokuapp.com/api/query?
by _jomo 11y ago
Title 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://twitter.com/shit_hn_says&q=.tweet-text 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?
- owainlewis 11y agoHey. Thanks. Yeah I will add a ton of features over the next few days. JSONP should be an easy one. Feel free to add an issue in Github and I'll get it done for you. 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.