Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit d7e8ad6

Browse files
committed
Add missing type hints
1 parent efbec3c commit d7e8ad6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

twitter_video_tools/platform_video_downloader.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
from playwright.sync_api import sync_playwright
44
from youtube_dl.utils import YoutubeDLError
55

6+
from twitter_video_tools.monsnode_parser import MonsnodeParser
7+
68
from .monsnode_parser import MonsnodeParser
79
from .twitter_crawler import TwitterCrawler
810
from .utils.youtube_dl_wrapper import youtube_dl_wrapper
@@ -12,7 +14,7 @@ class PlatformVideoDownloader:
1214
monsnode_parser: MonsnodeParser
1315
video_output_path: str = 'videos'
1416

15-
def __init__(self, video_output_path: str = 'videos', monsnode_parser: MonsnodeParser = MonsnodeParser()):
17+
def __init__(self, video_output_path: str = 'videos', monsnode_parser: MonsnodeParser = MonsnodeParser()) -> None:
1618
self.video_output_path = video_output_path
1719
self.monsnode_parser = monsnode_parser
1820

0 commit comments

Comments
 (0)