Open dhamo-vairavel opened 3 years ago
Please let me know if you need more information on the issue or how to reproduce the error
Did you find a solution?
Using engine=chromium
solves this problem for all three of your examples
note this only works for the endpoint render.html
[https://github.com/scrapinghub/splash/issues/964]
eg
http://0.0.0.0:8050/render.html?engine=chromium&wait=0.5&images=1&expand=1&timeout=90.0&url=https%3A%2F%2Fwww.bfycap.com%2F&lua_source=function+main%28splash%2C+args%29%0D%0A++assert%28splash%3Ago%28args.url%29%29%0D%0A++assert%28splash%3Await%280.5%29%29%0D%0A++return+%7B%0D%0A++++html+%3D+splash%3Ahtml%28%29%2C%0D%0A++++png+%3D+splash%3Apng%28%29%2C%0D%0A++++har+%3D+splash%3Ahar%28%29%2C%0D%0A++%7D%0D%0Aend
I am also encountering a website that returns the image "Your Browser is No Longer Supported". Setting engine=chromium
is an interesting approach, but is limited to endpoint render.html
. Does any one have a solution when dealing with the other endpoints (e.g. render.json
execute
)?
following this
i am also encountering a website that name https://www.mech.hku.hk/people
Hi All,
Few/List of URLs scraped through the Splash instances (SplashRequest) returns the image with "Your Browser Is No Longer Supported" (Refer the screenshot attached for more info)
Python version - 3.7 Python packages used:
List of sample URLs: https://www.ashmoreavenida.com/impact/ https://www.bfycap.com/ https://www.lightship.capital/portfolio
LUA script used to reproduce the error: function main(splash, args) assert(splash:go(args.url)) assert(splash:wait(0.5)) return { html = splash:html(), png = splash:png(), har = splash:har(), } end
Screenshot:![www ashmoreavenida com](https://user-images.githubusercontent.com/84450209/118805158-3dce5d00-b8c3-11eb-8801-688df0ed6755.png)