scrapy-splash icon indicating copy to clipboard operation
scrapy-splash copied to clipboard

502 Error when requesting local html file

Open hadesfv opened this issue 4 years ago • 0 comments

url='file:///home/madboy/html/16c41f1270339c83.html' splash_args = { 'html': 1, 'png': 1, 'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36'} }

yield SplashRequest(url, self.parse, args=splash_args, endpoint='render.json')

hadesfv avatar Jun 19 '20 04:06 hadesfv