Skip to content

Commit

Permalink
remove tabulate usage
Browse files Browse the repository at this point in the history
  • Loading branch information
aktech authored Sep 20, 2024
1 parent fdbea86 commit 18cbda0
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions criclive/main.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import requests
from bs4 import BeautifulSoup

from tabulate import tabulate

SOURCE_URL = "https://www.espncricinfo.com/scores/"


Expand All @@ -15,11 +13,7 @@ def _print_scores(scores):
for score in scores
]
table_len = len(table)
print(tabulate(
table,
showindex=range(1, table_len + 1),
tablefmt='fancy_grid')
)
print(table)


def get_scores():
Expand Down

0 comments on commit 18cbda0

Please sign in to comment.