摘要:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>菜鸟教程(runoob.com)</title> </head> <body> <h1>我的第一个标题</h1> <p id="first">我的第一个段落。</p> </body 阅读全文
posted @ 2020-12-14 19:22
石榴海豹
阅读(51)
评论(0)
推荐(0)
摘要:
1 import requests 2 from bs4 import BeautifulSoup 3 import bs4 4 5 def getHTMLText(url): 6 try: 7 r = requests.get(url, timeout=30) 8 r.raise_for_stat 阅读全文
posted @ 2020-12-14 19:07
石榴海豹
阅读(59)
评论(0)
推荐(0)
摘要:
# encoding: utf-8 import urllib.request import urllib.parse url = "https://www.so.com/s?q=" keyword = input("请输入搜索关键词") keyword = urllib.parse.quote(k 阅读全文
posted @ 2020-12-14 18:54
石榴海豹
阅读(110)
评论(0)
推荐(0)
浙公网安备 33010602011771号