Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

报错 #98

Open
QuanQuanoooooo opened this issue Nov 19, 2024 · 5 comments
Open

报错 #98

QuanQuanoooooo opened this issue Nov 19, 2024 · 5 comments

Comments

@QuanQuanoooooo
Copy link

ERROR: Fail to run task:TypeError: Cannot read properties of undefined (reading 'id')

@QuanQuanoooooo
Copy link
Author

[2024-11-20T02:01:47.198Z] DEBUG: Fetching https://m.douban.com/rexxar/api/v2/user/91315334/interests?type=movie&status=mark&start=0&count=50&ck=f5rG&for_mobile=1...

[2024-11-20T02:01:50.786Z] ERROR: Fail to run task:TypeError: Cannot read properties of undefined (reading 'id')

[2024-11-20T02:01:50.787Z] DEBUG: Close local database

[2024-11-20T02:01:50.788Z] DEBUG: Job completed...

[2024-11-20T02:01:50.789Z] DEBUG: Service is pending...

[2024-11-20T02:01:50.790Z] DEBUG: Waiting for the job...

@tabris17
Copy link
Contributor

应该是有被屏蔽的书影音,导致返回的数据格式有问题。我抽空查一下

@leftcausedit
Copy link

我的是电锯人被屏蔽了, 响应变成如下,最下面是属于电锯人的块

{
    "count": 50,
    "start": 50,
    "total": 306,
    "filters": [
        {
            "tags": [
                {
                    "name": "全部",
                    "key": "全部"
                },
                {
                    "name": "2024",
                    "key": "2024"
                },
                {
                    "name": "2023",
                    "key": "2023"
                },
                {
                    "name": "2022",
                    "key": "2022"
                },
                {
                    "name": "2021",
                    "key": "2021"
                },
                {
                    "name": "2020",
                    "key": "2020"
                },
                {
                    "name": "2010年代",
                    "key": "2010年代"
                },
                {
                    "name": "2000年代",
                    "key": "2000年代"
                },
                {
                    "name": "90年代",
                    "key": "90年代"
                },
                {
                    "name": "80年代",
                    "key": "80年代"
                },
                {
                    "name": "70年代",
                    "key": "70年代"
                },
                {
                    "name": "60年代",
                    "key": "60年代"
                },
                {
                    "name": "更早",
                    "key": "更早"
                }
            ],
            "type": "year",
            "title": "年代"
        },
        {
            "tags": [
                {
                    "name": "全部",
                    "key": ""
                },
                {
                    "name": "电影",
                    "key": "movie"
                },
                {
                    "name": "电视",
                    "key": "tv"
                }
            ],
            "type": "subtype",
            "title": "形式"
        }
    ],
    "interests": [
        ... //省略其他项
        {
            "comment": "",
            "rating": {
                "count": 1,
                "max": 5,
                "star_count": 4,
                "value": 4
            },
            "sharing_text": "我的评分:★★★★ https://www.douban.com/doubanapp/dispatch/movie/35231436 来自@豆瓣App",
            "sharing_url": "https://www.douban.com/doubanapp/dispatch?uri=/subject/35231436/interest/3712373943",
            "tags": [],
            "charts": [],
            "platforms": [],
            "vote_count": 0,
            "create_time": "2023-03-06 06:03:48",
            "status": "done",
            "id": 3712373943,
            "is_private": false,
            "subject": {
                "rating": {
                    "count": 73296,
                    "max": 10,
                    "star_count": 4,
                    "value": 8.2
                },
                "controversy_reason": "",
                "pubdate": [
                    "2021-04-09(韩国)"
                ],
                "pic": {
                    "large": "https://img2.doubanio.com/view/photo/m_ratio_poster/public/p2637459961.jpg",
                    "normal": "https://img2.doubanio.com/view/photo/s_ratio_poster/public/p2637459961.jpg"
                },
                "honor_infos": [],
                "is_show": false,
                "vendor_icons": [],
                "year": "2021",
                "card_subtitle": "2021 / 韩国 / 剧情 / 朴俊宇 / 李帝勋 李絮",
                "id": "35231436",
                "genres": [
                    "剧情"
                ],
                "title": "模范出租车",
                "is_released": true,
                "actors": [
                    {
                        "name": "李浩哲"
                    }
                ],
                "color_scheme": {
                    "is_dark": true,
                    "primary_color_light": "723220",
                    "_base_color": [
                        0.037037037037037035,
                        0.72,
                        0.19607843137254902
                    ],
                    "secondary_color": "f9f6f4",
                    "_avg_color": [
                        0.07575757575757576,
                        0.7475728155339807,
                        0.403921568627451
                    ],
                    "primary_color_dark": "4c2115"
                },
                "type": "tv",
                "has_linewatch": false,
                "vendor_desc": "",
                "cover_url": "https://img2.doubanio.com/view/photo/m_ratio_poster/public/p2637459961.jpg",
                "sharing_url": "https://www.douban.com/doubanapp/dispatch/movie/35231436",
                "url": "https://movie.douban.com/subject/35231436/",
                "release_date": null,
                "uri": "douban://douban.com/tv/35231436",
                "subtype": "tv",
                "directors": [
                    {
                        "name": "朴俊宇"
                    }
                ],
                "album_no_interact": false,
                "article_intros": [],
                "null_rating_reason": ""
            }
        },
        {} //这是属于电锯人的块
    ]
}

@hoetsunoyorokobi
Copy link

hoetsunoyorokobi commented Nov 30, 2024

一模一样的error message, 经排查是因为有已经被封禁了的影音。

可以这么解决:

  1. 打开导出中断了的excel文件,filter by 创建时间。找到创建时间中断的日期
  2. 去豆瓣上“看过” “在看” “想看”的页面上,按照中断的日期去确认被封禁了的影音是哪部
  3. 从“看过” “在看” “想看”页面上删除被封禁了的影音
  4. 现在可以正常导出了。如果有多部被封禁了的影音,可能要多重复步骤几次。

@jessecai33
Copy link

楼上的解决方案对影视是ok的, 但音乐里听过的里面被删掉的条目, 目前我听的网页上都已经不显示了, 所以也无法删除, 于是就会卡在音乐导入的阶段无法继续.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants