摘要:
Beautiful Soup 4.2.0 文档 — Beautiful Soup 4.2.0 documentation Navigation index Beautiful Soup 4.2.0 documentation » Navigation index Beautiful Soup 4.2 阅读全文
posted @ 2018-01-22 17:30
brady-wang
阅读(407)
评论(0)
推荐(0)
摘要:
import urllib.request from bs4 import BeautifulSoup import re def validateTitle(title): rstr = r"[\/\\\:\*\?\"\\|]" # '/ \ : * ? " |' new_title = re.sub(rstr, "_", title) # 替换为下划线 re... 阅读全文
posted @ 2018-01-22 17:25
brady-wang
阅读(230)
评论(0)
推荐(0)

浙公网安备 33010602011771号