Skip to content

Commit

Permalink
Merge pull request #17 from Rizvanov-Rinat/patch-1
Browse files Browse the repository at this point in the history
Fix InvalidUrl exception on correct URLs
  • Loading branch information
krypton-byte authored Apr 17, 2022
2 parents ccae14d + 057ccff commit 4d2f27c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tiktok_downloader/scrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __repr__(self):
class info_post(Session):
def __init__(self, url: str):
super().__init__()
if 'vt.tiktok.com' in url:
if '.tiktok.com' in url:
url = self.get(
url,
headers=self.headers,
Expand Down

0 comments on commit 4d2f27c

Please sign in to comment.