Skip to content
This repository was archived by the owner on Sep 13, 2023. It is now read-only.
This repository was archived by the owner on Sep 13, 2023. It is now read-only.

想问下能添加 下载 相册相片的功能吗 #14

@kylewuwu

Description

@kylewuwu

想问下能添加 下载 相册相片的功能吗,我这边查了好久,只找到 QQ 相册的路径,相片的路径文件名好像是加密了,不知怎么查

url_check = ".photo.qq.com/fcgi-bin/fcg_list_album_v2"
print("正在获取相册列表……")
s = requests.Session()
for i in range(len(self.alist)):

        url_checklist = "http://"+self.alist[i]+url_check
        #print(self.appid)
        #print(url_checklist)          
        self.res = s.get(url_checklist, params = {
              'inCharset'   : 'gbk',
              'outCharset'  : 'gbk',
              'notice'      : 0,
              'callbackFun' : '',
              'format'      : 'jsonp',
              'plat'        : 'qzone',
              'source'      : 'qzone',
              'appid'       : self.appid,
              'hostUin'     : hostuin,
              'uin'         : self.user,
              't'           : random.Random().random(),
              'g_tk'        : self.g_tk(),
        })

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions