requests 問題
请问 s = requests.Session() 是保持会话那我要同时保持2间网站会话是不是这样写?
s = requests.Session()
sa = requests.Session()
程序代码:
import requests s = requests.Session() sa = requests.Session() get = s.get('https://tw.') geta = sa.get('https://tw.')
import requests s = requests.Session() sa = requests.Session() get = s.get('https://tw.') geta = sa.get('https://tw.')