我是Scrapy的新手,我正在寻找一种从Python脚本运行它的方法。我找到了两个来源来解释这一点:
# This snippet can be used to run scrapy spiders independent of scrapyd or the scrapy commandimport dispatcher
from scrapy<
我正在尝试从的某个页面呈现数据,该页面使用javascript为我想要抓取的有用数据生成html。我跟随的脚步,使用pyqt4来呈现html,但实际上并没有呈现javascript,我只是得到了之前得到的相同的html!PyQt4.QtGui import *from PyQt4.QtWebKit import *
#basic function to get scra