tonquer / picacg-qt

哔咔漫画, PicACG comic PC client(Windows, Linux, MacOS)
GNU Lesser General Public License v3.0
3.62k stars 185 forks source link

本子妹本子母无法获取到 #204

Closed tobyprime closed 1 year ago

tobyprime commented 1 year ago

操作系统

Windows

问题描述(简要描述发生的问题)

使用新账号时无法获取本子妹/本子母

复现步骤(详细描述导致问题产生的操作步骤,如果能稳定复现)

ID: apitest114514 密码: apitest114514 token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MzYzYTFhZDgyZDc5OGFkMzM0MWFhNzgiLCJlbWFpbCI6ImFwaXRlc3QxMTQ1MTQiLCJyb2xlIjoibWVtYmVyIiwibmFtZSI6ImFwaXRlc3QxMTQ1MTQiLCJ2ZXJzaW9uIjoiMi4yLjEuMy4zLjQiLCJidWlsZFZlcnNpb24iOiI0NSIsInBsYXRmb3JtIjoiYW5kcm9pZCIsImlhdCI6MTY2NzQ3OTQ1NCwiZXhwIjoxNjY4MDg0MjU0fQ.aGh4HJf7qoaHNwrnZZdJG_EMpfc0zP07l3C19zKN2tk

其他

我也在尝试实现一个跨平台的picacg客户端,使用的是dart,发现使用这个账号get collections返回的是空的列表

{
  "code": 200,
  "message": "success",
  "data": {
    "collections": [
      {
        "title": "本子妹推薦",
        "comics": []
      },
      {
        "title": "本子母推薦(懷孕)",
        "comics": []
      }
    ]
  }
}

而使用我的大号却能正常获取

{
  "code": 200,
  "message": "success",
  "data": {
    "collections": [
      {
        "title": "本子妹推薦",
        "comics": [
          {
            "_id": "5c6840270f7c1c77f102261f",
            "title": "(C95)COMMAND CODE",
            "author": "瓦屋本舗 (瓦屋A太)",
            "pagesCount": 43,
            "epsCount": 1,
            "finished": false,
            "categories": [
              "短篇",
              "偽娘哲學",
              "扶他樂園"
            ],
            "thumb": {
              "fileServer": "https://storage1.picacomic.com",
              "path": "ac0a5331-6543-43b9-85c7-5d443a754f8d.jpg",
              "originalName": "15491752789957.webp.jpg"
            },
            "totalViews": 116768,
            "totalLikes": 517
          },
          {
            "_id": "5f36ba704c336c679196f69d",
            "title": "[Pixiv] もると (12025045)",
            "author": "もると",
            "totalViews": 18181,
            "totalLikes": 89,
            "pagesCount": 20,
            "epsCount": 1,
            "finished": true,
            "categories": [
              "短篇",
              "同人",
              "全彩",
              "CG雜圖",
              "生肉"
            ],
            "thumb": {
              "originalName": "83291097_p0.jpg",
              "path": "16771e9c-a585-498a-925e-cfd4dba24bb4.jpg",
              "fileServer": "https://storage1.picacomic.com"
            }
          },
          {
            "_id": "62c9b056257f20442f273026",
            "title": "プリコネ コッ〇ロちゃん",
            "author": "橘由宇",
            "totalViews": 9088,
            "totalLikes": 89,
            "pagesCount": 11,
            "epsCount": 1,
            "finished": false,
            "categories": [
              "短篇",
              "同人",
              "生肉"
            ],
            "thumb": {
              "originalName": "0.jpg",
              "path": "tobs/ac8a3e73-9b8c-4572-aa95-d9ee21b61ea3.jpg",
              "fileServer": "https://storage-b.picacomic.com"
            }
          },
          {
            "_id": "63307603b947e21a99885bee",
            "title": "コッコロママ・・・ ",
            "author": "My Suite Atsuki",
            "totalViews": 24420,
            "totalLikes": 105,
            "pagesCount": 28,
            "epsCount": 1,
            "finished": false,
            "categories": [
              "Cosplay"
            ],
            "thumb": {
              "originalName": "24.jpg",
              "path": "tobs/06420039-b87f-4608-a3a6-42d13bc1f03e.jpg",
              "fileServer": "https://storage-b.picacomic.com"
            }
          }
        ]
      },
      {
        "title": "本子母推薦(懷孕)",
        "comics": [
          {
            "_id": "5e10007bff2c7627e8a25cfd",
            "title": "(C97)触手とユニ先輩 (プリンセスコネクト!Re:Dive)",
            "author": "ぷち町屋 (kylin)",
            "totalViews": 37926,
            "totalLikes": 378,
            "pagesCount": 8,
            "epsCount": 1,
            "finished": true,
            "categories": [
              "短篇",
              "同人",
              "生肉",
              "非人類"
            ],
            "thumb": {
              "originalName": "001.jpg",
              "path": "5632cde8-c1a8-474d-93f5-0c59eee591f5.jpg",
              "fileServer": "https://storage1.picacomic.com"
            }
          },
          {
            "_id": "5edd91c169f3501c8da32ed8",
            "title": "アニマルコネクト (プリンセスコネクト)",
            "author": "漸速ライダー",
            "totalViews": 25505,
            "totalLikes": 125,
            "pagesCount": 18,
            "epsCount": 1,
            "finished": true,
            "categories": [
              "短篇",
              "同人",
              "非人類",
              "生肉"
            ],
            "thumb": {
              "originalName": "001.jpg",
              "path": "bed80fb5-8a8d-40f8-b225-3c2f4788266e.jpg",
              "fileServer": "https://storage1.picacomic.com"
            }
          },
          {
            "_id": "5f3ea905c6bc043d9d20d0ef",
            "title": "プリコロナマ交尾 (プリンセスコネクト!Re:Dive) [中国翻訳]",
            "author": "Deadflow",
            "totalViews": 277293,
            "totalLikes": 1902,
            "pagesCount": 43,
            "epsCount": 1,
            "finished": true,
            "categories": [
              "短篇",
              "全彩",
              "同人",
              "CG雜圖"
            ],
            "thumb": {
              "originalName": "18comic_000.jpg",
              "path": "d994af96-5381-41f7-8ac2-0f82d2afa8cf.jpg",
              "fileServer": "https://storage1.picacomic.com"
            }
          },
          {
            "_id": "61fab46dd2a75c5040ade0ce",
            "title": "しぼラレはぁとっ!",
            "author": "文月会",
            "totalViews": 79666,
            "totalLikes": 435,
            "pagesCount": 103,
            "epsCount": 1,
            "finished": false,
            "categories": [
              "全彩",
              "同人",
              "CG雜圖",
              "生肉"
            ],
            "thumb": {
              "originalName": "001_d_220671pr.jpg",
              "path": "34244a77-90d3-460b-bf74-949e10112f0d.jpg",
              "fileServer": "https://storage1.picacomic.com"
            }
          }
        ]
      }
    ]
  }
}

使用测试小号在哔咔网页版复制的curl转成python get也能正常获得

tonquer commented 1 year ago

这个接口每个账号返回是不一样的结果,大概率是更加历史观看记录推荐的吧,可能新号是没有的吧