摘要:
``` import requests from bs4 import BeautifulSoup ## 获取token r1 = requests.get('https://github.com/login') s1 = BeautifulSoup(r1.text,'html.parser') t 阅读全文
posted @ 2019-11-17 23:01
程序员子枫
阅读(238)
评论(0)
推荐(0)
摘要:
``` import requests from bs4 import BeautifulSoup response = requests.get("https://www.autohome.com.cn/news/") # 1. content /text 的区别 # print(response 阅读全文
posted @ 2019-11-17 22:14
程序员子枫
阅读(149)
评论(0)
推荐(0)

浙公网安备 33010602011771号