摘要:
#使用了线程库 import threading from queue import Queue from bs4 import BeautifulSoup import json import requests class ThreadCrawl(threading.Thread): def __init__(self,threadNmae,pageQueue,dataQueue)... 阅读全文
posted @ 2017-12-12 13:20
公众号python学习开发
阅读(421)
评论(0)
推荐(0)
摘要:
import unittest from selenium import webdriver from bs4 import BeautifulSoup as bs class douyu(unittest.TestCase): #初始化方法 def setUp(self): self.option = webdriver.ChromeOptions() ... 阅读全文
posted @ 2017-12-12 10:29
公众号python学习开发
阅读(777)
评论(0)
推荐(0)