Python爬虫
春眠不觉晓HUNAN
专注Python学习,爬虫、数据处理、数据分析
展开
-
Python 获取LOL皮肤
import requests import time import random headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.104 Safari/537.36" } def getrandom(): return random.uniform(1,5)#生成一个指定范围内的浮点数原创 2022-07-02 00:57:23 · 682 阅读 · 0 评论 -
Python 获取LOL所有英雄的传说
import requests import time import random headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.104 Safari/537.36" } def getrandom(): return random.uniform(1, 5) # 生成一个指定范围内原创 2022-07-02 00:50:59 · 902 阅读 · 0 评论