Comments (11)
对应的 json 数据里有 id 吗?
from qzoneexporter.
对应的 json 数据里有 id 吗?
album_info.json 这个文件里面id都是有的
from qzoneexporter.
看了下源码,然后对比了json数据结构:
{
"code": 0,
"subcode": 0,
"message": "",
"default": 0,
"data": {
"albumListModeClass": [
{
"albumList": [
{
似乎和正常的JSON不一样,正常的如下:
{
"code": 0,
"subcode": 0,
"message": "",
"default": 0,
"data": {
"albumListModeSort": [
【albumListModeClass】 和 【albumListModeSort】的区别?
相册分类导致?
from qzoneexporter.
代码会尝试使用 albumListModeClass 和 albumListModeClass 两个 key 来找数据,把报错的这个json数据删除无关信息后发出来看看?
手滑写错了 key,忘记 generator.py
并没有处理 albumListModeClass
了。
from qzoneexporter.
代码会尝试使用 albumListModeClass 和 albumListModeClass 两个 key 来找数据,把报错的这个json数据删除无关信息后发出来看看?
{
"code": 0,
"subcode": 0,
"message": "",
"default": 0,
"data": {
"albumListModeClass": [
{
"albumList": [
{
"allowAccess": 1,
"anonymity": 2,
"bitmap": "10000001",
"classid": 101,
"comment": 172,
"createtime": 1262241723,
"desc": " ",
"handset": 0,
"id": "xxx",
"lastuploadtime": 1550384274,
"modifytime": 1550383714,
"name": "xxx",
"order": 1,
"pre": "https://b10.photo.store.qq.com/psb?/xxx",
"priv": 4,
"pypriv": 4,
"total": 525,
"viewtype": 2
}
],
"classId": 101,
"nextPageStart": 10,
"totalInClass": 10,
"totalInPage": 10
},
{
"albumList": [
{
"allowAccess": 1,
"anonymity": 6,
"bitmap": "10000001",
"classid": 104,
"comment": 3,
"createtime": 1423483520,
"desc": " ",
"handset": 0,
"id": "xxx",
"lastuploadtime": 1428591083,
"modifytime": 1469766202,
"name": "xxx",
"order": 0,
"priv": 4,
"pypriv": 4,
"total": 114,
"viewtype": 6
}
],
"classId": 104,
"nextPageStart": 5,
"totalInClass": 5,
"totalInPage": 5
},
{
"albumList": [
{
"allowAccess": 1,
"anonymity": 2,
"bitmap": "10000001",
"classid": 106,
"comment": 3,
"createtime": 1270883484,
"desc": " ",
"handset": 0,
"id": "xxx",
"lastuploadtime": 1428590647,
"modifytime": 1428590686,
"name": "╮xxx",
"order": 16,
"priv": 4,
"pypriv": 3,
"total": 167,
"viewtype": 2
}
],
"classId": 106,
"nextPageStart": 14,
"totalInClass": 14,
"totalInPage": 14
},
{
"albumList": [
{
"allowAccess": 1,
"anonymity": 0,
"bitmap": "10000000",
"classid": 107,
"comment": 0,
"createtime": 1473161555,
"desc": "",
"handset": 1,
"id": "xxx",
"lastuploadtime": 1479391921,
"modifytime": 1479391957,
"name": "xxx",
"order": 4294967295,
"priv": 1,
"pypriv": 3,
"total": 0,
"viewtype": 0
}
],
"classId": 107,
"nextPageStart": 0,
"totalInClass": 1,
"totalInPage": 1
}
],
"albumsInUser": 30,
"classList": [
{
"id": 101,
"name": "人物"
},
{
"id": 100,
"name": "最爱"
},
{
"id": 102,
"name": "风景"
},
{
"id": 103,
"name": "动物"
},
{
"id": 104,
"name": "游记"
},
{
"id": 105,
"name": "卡通"
},
{
"id": 106,
"name": "生活"
},
{
"id": 107,
"name": "其他"
}
],
"limit": 0,
"mode": 3,
"sortOrder": 2,
"t": "",
"user": {
"diskused": "321.19",
"microalbum": 0,
"mspec": 1,
"ordermode": 1,
"ordertype": 2,
"ownerface": 1,
"preurlspec": "i",
"time": 1569306326,
"userbit": 0
}
}
}
from qzoneexporter.
这些 json 数据又嵌套了一层,需要再通过 albumList
访问,这种数据多吗,这些相册是什么时候创建的?
from qzoneexporter.
这些 json 数据又嵌套了一层,需要再通过
albumList
访问,这种数据多吗,这些相册是什么时候创建的?
15年、17年、19年都有
from qzoneexporter.
这些 json 数据又嵌套了一层,需要再通过
albumList
访问,这种数据多吗,这些相册是什么时候创建的?
看来这种情况photo_exif_recover.py中也要考虑到。
from qzoneexporter.
网页显示时忘记考虑相册在排序视图下的 json 格式
from qzoneexporter.
这些 json 数据又嵌套了一层,需要再通过
albumList
访问,这种数据多吗,这些相册是什么时候创建的?看来这种情况photo_exif_recover.py中也要考虑到。
统一一下,调用 tools.py
的 get_album_list_data
获取数据。
from qzoneexporter.
这些 json 数据又嵌套了一层,需要再通过
albumList
访问,这种数据多吗,这些相册是什么时候创建的?看来这种情况photo_exif_recover.py中也要考虑到。
统一一下,调用
tools.py
的get_album_list_data
获取数据。
好的,我回头测试一下。
from qzoneexporter.
Related Issues (20)
- [BUG]QQ空间做出调整? HOT 5
- [BUG]查看照片时如果留言很多将无法显示完全
- 问题请求 HOT 1
- [BUG] 低几率发生下载完成后不能退出的情况 HOT 1
- [BUG] 返回json提示“请先登录” HOT 6
- 说说页面显示不对 HOT 2
- [BUG] 当qq相册的命名包含引号的时候,因为windows和linux都不允许文件夹名字中包含引号,所以只要相册中名字有引号,那么这个相册就全部被忽略了 HOT 1
- [BUG]无法爬取置顶说说
- 下载地址不存在 HOT 1
- 设置导出的目录 HOT 2
- C盘满了 HOT 2
- 图片下载 HOT 9
- 说说图像 exif 能否进行恢复? HOT 1
- Exif 信息写回照片,重命名后时间显示乱码[BUG] HOT 1
- Exif 信息写回照片提示argument out of range[BUG] HOT 12
- [BUG]无法获取到博客评论 HOT 1
- [BUG]留言板欢迎信息中带图片的在Flask中访问会报错 HOT 2
- 请问大佬有没有兴趣接个广子呢
- 相册下载 HOT 1
- 相册照片按照原来文件名命名 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qzoneexporter.