WHCSRL 技术网

Python爬取2020年内地电影票房总排行榜

import requests
from bs4 import BeautifulSoup
from matplotlib import pyplot as plt
from matplotlib import font_manager

allUniv = []
x = []
y = []

#获取指定网址的页面源码
def getHTMLText(url
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
推荐阅读