javascript - How to use splash with requests in python? -


i've written script using python scrape product names webpage. however, intention use "splash" within python script in combination requests library can parse data javascript-heavy website. doesn't work. how rectify script response webpage using splash? in advance.

here script:

import requests ; bs4 import beautifulsoup res = requests.get('http://localhost:8000/render.html',              params={'url': 'https://www.footlocker.com/release-dates/', 'wait': 2})   print(res.text) 

running script, error i'm having:

<response [404]> 

how accomplish process response webpage?


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -