#!/usr/bin/env python # -*- encoding: utf-8 -*- ''' @Description:TikTok.py @Date :2023/02/11 13:06:23 @Author :imgyh @version :1.0 @Github :https://github.com/imgyh @Mail :admin@imgyh.com ------------------------------------------------- Change Log : ------------------------------------------------- ''' class Urls(object): def __init__(self): # https://langyue.cc/APIdocV1.0.html ######################################### WEB ######################################### # 首页推荐 self.TAB_FEED = 'https://www.douyin.com/aweme/v1/web/tab/feed/?' # 用户短信息(给多少个用户secid就返回多少的用户信息) self.USER_SHORT_INFO = 'https://www.douyin.com/aweme/v1/web/im/user/info/?' # 用户详细信息 self.USER_DETAIL = 'https://www.douyin.com/aweme/v1/web/user/profile/other/?' # 用户作品 self.USER_POST = 'https://www.douyin.com/aweme/v1/web/aweme/post/?' # 作品信息 self.POST_DETAIL = 'https://www.douyin.com/aweme/v1/web/aweme/detail/?' # 用户喜欢A self.USER_FAVORITE_A = 'https://www.douyin.com/aweme/v1/web/aweme/favorite/?' # 用户喜欢B self.USER_FAVORITE_B = 'https://www.iesdouyin.com/web/api/v2/aweme/like/?' # 用户历史 self.USER_HISTORY = 'https://www.douyin.com/aweme/v1/web/history/read/?' # 用户收藏 self.USER_COLLECTION = 'https://www.douyin.com/aweme/v1/web/aweme/listcollection/?' # 用户评论 self.COMMENT = 'https://www.douyin.com/aweme/v1/web/comment/list/?' # 首页朋友作品 self.FRIEND_FEED = 'https://www.douyin.com/aweme/v1/web/familiar/feed/?' # 关注用户作品 self.FOLLOW_FEED = 'https://www.douyin.com/aweme/v1/web/follow/feed/?' # X-Bogus Path self.GET_XB_PATH = 'https://tiktok.199933.xyz/xb' ####################################################################################### if __name__ == '__main__': Urls()