problem description
in the process of using the pyspider frame, the rendered web page will never be displayed properly in the preview area on the left.
in the previous Chrome67, the preview page was a little larger, so you can"t see it at all when you upgrade to Chrome69,.
can only see a very small seam almost.
the environmental background of the problems and what methods you have tried
chrome browser used, version 69.0.3497.81
related codes
from pyspider.libs.base_handler import *
class Handler(BaseHandler):
crawl_config = {
}
@every(minutes=24 * 60)
def on_start(self):
self.crawl("http://travel.qunar.com/travelbook/list.htm", callback=self.index_page)
@config(age=10 * 24 * 60 * 60)
def index_page(self, response):
for each in response.doc("a[href^="http"]").items():
self.crawl(each.attr.href, callback=self.detail_page)
@config(priority=2)
def detail_page(self, response):
return {
"url": response.url,
"title": response.doc("title").text(),
}
, that is, the automatically generated code framework, this should not affect.
what result do you expect? What is the error message actually seen?
is there any way to see the complete rendered page style.
except for changing browsers.