Skip to content

Commit 3ab5ce5

Browse files
committed
Update as Script
1 parent 4fd658a commit 3ab5ce5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/real_madrid/as.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def getUrlData(url):
5757
# Description:
5858
subTitleEle = article.find(class_="a_st")
5959
if subTitleEle:
60-
subTitle = translator.translate(subTitle.get_text(strip=True))
60+
subTitle = translator.translate(subTitleEle.get_text(strip=True))
6161
if subTitle:
6262
if len(subTitle) > 800:
6363
subTitle = f"{subTitle[:800]}...\n\n"

0 commit comments

Comments
 (0)