使用selenium爬取鬥魚直播數據

分析鬥魚直播首頁https://www.douyu.com/directory/all 使用selenium來實現跳轉頁面,定位到跳轉頁面位置。 拿到頁面後經過xpath提取想要的數據進行分析。 保存數據   # -*- coding:utf-8 -*- from selenium import webdriver from selenium.webdriver.chrome.options im
相關文章
相關標籤/搜索