Python爬虫——案例(四)

1. 斗鱼 - selenium

思路


  1. 利用selenium得到页面内容
  2. 利用xpath或者bs 等在页面中进行信息提取

源代码

from selenium import webdriver
from bs4 import BeautifulSoup
import time

class 

猜你喜欢

转载自blog.csdn.net/qq_29339467/article/details/104393599
今日推荐