Update 2.9

This commit is contained in:
Yoshiko
2020-03-27 21:12:17 +08:00
committed by GitHub
parent 4bc59a48ea
commit 1f57bd2b23
2 changed files with 33 additions and 30 deletions

View File

@@ -85,7 +85,7 @@ def main(number2):
soup = BeautifulSoup(htmlcode, 'lxml')
a = str(soup.find(attrs={'class': 'detail_data'})).replace('\n ','').replace(' ','').replace('\n ','').replace('\n ','')
b = str(soup.find(attrs={'id': 'introduction'})).replace('\n ','').replace(' ','').replace('\n ','').replace('\n ','')
print(b)
#print(b)
dic = {
'title': getTitle(htmlcode).replace("\\n",'').replace(' ',''),
'studio': getStudio(a),
@@ -108,4 +108,4 @@ def main(number2):
return js
#print(htmlcode)
print(main('SIRO-3607'))
#print(main('SIRO-3607'))