【发布时间】:2019-01-13 23:32:45
【问题描述】:
这是我的代码:
输入您要查找的年份和文件类型
year = input('What year is the master index you are looking for?\n')
file = input('What form are you looking for?\n')
import urllib.request
index_url = urllib.request.urlopen('https://www.sec.gov/Archives/edgar/full-index/%s/QTR2/master.idx'%(year))
这会打开与我指定为变量的年份对应的网页吗?
感谢您的帮助!
【问题讨论】:
标签: python web web-crawler