I am trying to build a Python/JS Web Service through a REST API.
My scenario is as follows:
- User clicks on a button on my website
- My website sends an HTTP Request to the REST API
- Web scraping happens on the Server-side (using either Python or Node). The data on the third-party website is loaded dynamically.
- The results are sent back in JSON format to my website to be shown to the user
I checked a number of Python hosting services. I cannot tell if they support Selenium or not. Same for the JS libraries and NodeJS hostings.
Basically, I'm confused. What should I use for my project and scraping dynamic data? Python with Selenium? NodeJS with PhantomJS and Cheerio?