1. 首页
  2. 数据库
  3. 其它
  4. python使用scrapy解析js示例

python使用scrapy解析js示例

上传者: 2021-02-01 23:54:48上传 PDF文件 30.26KB 热度 26次
复制代码 代码如下:from selenium import selenium class MySpider(CrawlSpider): name = ‘cnbeta’ allowed_domains = [‘cnbeta.com’] start_urls = [‘//www.jb51.net’] rules = ( # Extract links matching ‘category.php’ (but not matching ‘subsection.php’) # and follow links from them (since n
下载地址
用户评论