为了账号安全,请及时绑定邮箱和手机立即绑定

通过指定两个内容在表中找到漂亮的汤链接

通过指定两个内容在表中找到漂亮的汤链接

鸿蒙传说 2021-04-10 18:15:39
我如何获得生成的URL:https : //www.sec.gov/Archives/edgar/data/1633917/000163391718000094/0001633917-18-000094-index.htm...从此页面...https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK=0001633917&owner=exclude&count=40...通过指定date = '2018-04-25,我要8-k申请吗?我是否循环播放,还是有一个班轮代码可以获取结果?from bs4 import BeautifulSoupfrom bs4.element import Commentimport requestsdate='2018-04-25'CIK='1633917'url = 'https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK=' + CIK + '&owner=exclude&count=100'r = requests.get(url)soup = BeautifulSoup(r.text,'html.parser')a=soup.find('table', class_='tableFile2').findAll('tr')for i in a:    print i
查看完整描述

1 回答

  • 1 回答
  • 0 关注
  • 164 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号