Tag: Python

Simulate Login

1. Sessions are a series of actions that do not lose states. 2. Cookies store credentials that are used to identify users. 3. Analogous to...

Picture_Gatherer

基础操作,初学使用,未解决被网站ban的问题。 import requests from bs4 import BeautifulSoup import os for i in range(2, 4): list_url = 'http://www.mzitu.com/page/' + str(i) list_source = requests.get(list_url).text #print (list_source) list_soup...

Steam_Calculator

功能与steamdb类似,可以计算出你的steam账号上游戏的总价(不包括dlc) 遇到某些锁区的游戏会出bug,比如 csgo, payday2,请自行特判 需要注意的是steamid是17位纯数字,与账号id不同,具体自行百度 key请自行去steam社区申请:http://steamcommunity.com/dev import requests import json key = '483C48DD8DDBE160938EF2F06B149218' #将其换成你自己申请的key steam_id = '76561198285460374' #换成自己的steamid GetOwnedGames_API = 'http://api.steampowered.com/IPlayerService/GetOwnedGames/v0001/?key=' + key + '&steamid='...