抓取API接口文档/创建任务
头参数
Authorizationstring必填Example:
认证token,格式Bearer {token},token前往官网个人中心获取
Bearer ****************Content-Typestring必填Example:
application/x-www-form-urlencoded请求体
spider_namestring必填Example:
工具名称
reddit.comspider_idstring必填Example:
工具ID
reddit_posts_by-urlspider_parametersstring必填Example:
抓取内容传参
[ { "url": "https://www.reddit.com/r/battlefield2042/comments/1cmqs1d/official_update_on_the_next_battlefield_game/" }, { "url": "https://www.reddit.com/r/FlappyGoose/comments/1nn4f1o/upvote_if_you_beat_it/?entry_point=games_drawer_personalized_game" }, { "url": "https://reddit.com/r/datascience/comments/1cmnf0m/technical_interview_python_sql_problem_but_not/" } ]spider_errorsstring必填Example:
truefile_namestring必填Example:
以任务ID命名
{TasksID}响应
200
成功
application/json
404
失败
application/json
post
/builder头参数
Authorizationstring必填Example:
认证token,格式Bearer {token},token前往官网个人中心获取
Bearer ****************Content-Typestring必填Example:
application/x-www-form-urlencoded请求体
spider_namestring必填Example:
工具名称
youtube.comspider_idstring必填Example:
工具ID
youtube_video_by-urlspider_parametersstring必填Example:
抓取内容传参
[ { "url": "https://www.youtube.com/watch?v=8RePenzQH80" } ]spider_universalstring必填Example:
视频参数
{ "resolution": ">=360p", "bitrate": ">=128", "video_codec": "vp9", "audio_format": "opus", "is_subtitles": "false", "selected_only": "false" }spider_errorsstring必填Example:
truefile_namestring必填Example:
以任务ID命名
{TasksID}响应
200
成功
application/json
404
失败
application/json
post
/video_builder最后更新于