Skip to content

Commit 9a3b856

Browse files
Merge pull request #231 from Digres45/cricketScore
fix to show all the matches
2 parents 6b70f4c + 8f28747 commit 9a3b856

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

cricket_live_score.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313

1414

1515
score_box=soup_page.findAll("div",{"class":"cb-col cb-col-25 cb-mtch-blk"})
16-
print(len(score_box))
17-
for i in range(10):
16+
l = len(score_box)
17+
print(l)
18+
for i in range(l):
1819
print(score_box[i].a["title"])
1920
print(score_box[i].a.text)
20-
print()
21+
print()

0 commit comments

Comments
 (0)