add some scripts.

This commit is contained in:
2025-02-11 16:07:43 +08:00
parent 2cab12ea34
commit 62a2fbdc77
20 changed files with 148909 additions and 4 deletions

View File

@ -55,7 +55,8 @@ def is_recent_video(upload_date):
# 获取视频列表
def fetch_video_list(output_file="video_list.json"):
url = "https://www.pornhub.com/video?o=mr" # 根据时间排序(最近一年)
#url = "https://www.pornhub.com/video?o=mr" # 根据时间排序(最近一年)
url = "https://www.pornhub.com/video?o=cm" # 最近
# 爬取视频列表
with YoutubeDL(ydl_opts) as ydl: