进口虾
reddit = praw。Reddit(client_id='id', client_secret='secret', user_agent='name')
在reddit.subreddit("tiktokcringe").hot(limit=20):
if submission.is_video:
print(submission.title)
下载RedDownloader:
pip install RedDownloader
,那么你可以这样做:
from RedDownloader import RedDownloader
RedDownloader.DownloadVideosBySubreddit("tiktokcringe" , 20)