Skip to content

Commit c235046

Browse files
author
caocheng
committed
update code
1 parent 83e3429 commit c235046

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eastmoney/eastmoney.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def run_detail2(code,name,url):
3030

3131
def run_detail1(code,name,url):
3232

33-
soup=getstart.geturl_utf8(url)
33+
soup=geturl.geturl_utf8(url)
3434
tags=soup.select('dd')
3535
try:
3636
m1=(tags[1].find_all('span')[1].string)
@@ -46,7 +46,7 @@ def run_detail1(code,name,url):
4646
run_detail2(code,name,url)
4747

4848

49-
soup=getstart.geturl_gbk(url)
49+
soup=geturl.geturl_gbk(url)
5050
tags=soup.select('.num_right > li')
5151
for tag in tags:
5252
if tag.a is None:

0 commit comments

Comments
 (0)