Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ViggoZ/producthunt-daily-hot
/ functions
Functions
23 in github.com/ViggoZ/producthunt-daily-hot
⨍
Functions
23
◇
Types & classes
1
↓ 2 callers
Function
fix_markdown_file
修复 Markdown 文件中缺失的图片链接
scripts/fix_images.py:170
↓ 2 callers
Function
process_files_in_batches
分批处理文件,每批之间暂停一段时间
scripts/fix_images.py:218
↓ 2 callers
Function
republish_to_wordpress
重新发布指定的 Markdown 文件到 WordPress
scripts/republish_to_wordpress.py:11
↓ 2 callers
Method
translate_text
使用OpenAI翻译文本内容
scripts/product_hunt_list_to_md.py:126
↓ 1 callers
Function
batch_republish
批量重新发布指定日期范围内的 Markdown 文件
scripts/batch_republish.py:8
↓ 1 callers
Method
convert_to_beijing_time
将UTC时间转换为北京时间
scripts/product_hunt_list_to_md.py:156
↓ 1 callers
Function
fetch_mock_data
生成模拟数据用于测试
scripts/product_hunt_list_to_md.py:290
↓ 1 callers
Function
fetch_og_image_url
从网页获取 Open Graph 图片 URL(备用方法)
scripts/fix_images.py:126
↓ 1 callers
Method
fetch_og_image_url
获取产品的Open Graph图片URL(备用方法)
scripts/product_hunt_list_to_md.py:71
↓ 1 callers
Function
fetch_product_hunt_data
从Product Hunt获取前一天的Top 30数据
scripts/product_hunt_list_to_md.py:212
↓ 1 callers
Function
fetch_product_image
从 Product Hunt API 获取产品图片 URL
scripts/fix_images.py:52
↓ 1 callers
Method
generate_keywords
生成产品的关键词,显示在一行,用逗号分隔
scripts/product_hunt_list_to_md.py:90
↓ 1 callers
Function
generate_markdown
生成Markdown内容并保存到data目录
scripts/product_hunt_list_to_md.py:333
↓ 1 callers
Method
get_image_url_from_media
从API返回的media字段中获取图片URL
scripts/product_hunt_list_to_md.py:47
↓ 1 callers
Function
get_producthunt_token
获取 Product Hunt 访问令牌
scripts/fix_images.py:20
↓ 1 callers
Function
get_producthunt_token
获取 Product Hunt 访问令牌
scripts/product_hunt_list_to_md.py:180
↓ 1 callers
Function
main
()
scripts/fix_images.py:238
↓ 1 callers
Function
main
()
scripts/republish_to_wordpress.py:85
↓ 1 callers
Function
main
()
scripts/product_hunt_list_to_md.py:355
↓ 1 callers
Function
main
()
scripts/batch_republish.py:41
↓ 1 callers
Function
publish_to_wordpress
()
scripts/publish_to_wordpress.py:9
↓ 1 callers
Method
to_markdown
返回产品数据的Markdown格式
scripts/product_hunt_list_to_md.py:163
Method
__init__
(self, id: str, name: str, tagline: str, description: str, votesCount: int, createdAt: str, featuredAt: str, w
scripts/product_hunt_list_to_md.py:33