[+] Module docstrings and preconditions
This commit is contained in:
+2
-2
@@ -162,7 +162,7 @@ def get_english_news_channels() -> list[str]:
|
||||
|
||||
Run this after download_all_tweets(api, 'TwitterNews')
|
||||
|
||||
Precondition:
|
||||
Preconditions:
|
||||
- <tweets_dir>/user/TwitterNews.json exists.
|
||||
|
||||
:return: A list of news channel screen names
|
||||
@@ -193,7 +193,7 @@ def filter_news_channels() -> None:
|
||||
"""
|
||||
Filter out news channels that don't exist anymore or have been banned by Twitter.
|
||||
|
||||
Precondition:
|
||||
Preconditions:
|
||||
- Run this after downloading all tweets from the news channels in Step 2.3 in main.
|
||||
|
||||
:return: None
|
||||
|
||||
Reference in New Issue
Block a user