when i clone the repo and run "python main.py" follwing error is shown:
File "main.py", line 28
def extract_tweet_ids(update: Update):
^
SyntaxError: invalid syntax
and when i run "python3 main.py" follwing error is shown:
Traceback (most recent call last):
File "main.py", line 48, in
def scrape_media(tweet_id: int) -> list[dict]:
TypeError: 'type' object is not subscriptable
when i clone the repo and run "python main.py" follwing error is shown: File "main.py", line 28 def extract_tweet_ids(update: Update): ^ SyntaxError: invalid syntax
and when i run "python3 main.py" follwing error is shown: Traceback (most recent call last): File "main.py", line 48, in
def scrape_media(tweet_id: int) -> list[dict]:
TypeError: 'type' object is not subscriptable