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

epub下載後只有標題,內容都是none #42

Closed
CutyIMoDo opened this issue Apr 4, 2024 · 16 comments
Closed

epub下載後只有標題,內容都是none #42

CutyIMoDo opened this issue Apr 4, 2024 · 16 comments
Assignees
Labels
Already Reproduced 已经被复现 bug Something isn't working Stale 拉锯战 跟随网站变化而改变爬虫策略

Comments

@CutyIMoDo
Copy link

CutyIMoDo commented Apr 4, 2024

執行時的log

2024-04-04,16:12:18 INFO     LinovelibMobileSpider Succeed to get the novel of book_id: 8  linovelib_mobile_spider.py:85
                    INFO     LinovelibMobileSpider book                                    linovelib_mobile_spider.py:95
                             name:《欢迎来到实力至上主义的教室》
                    INFO     LinovelibMobileSpider Succeed to get the catalog of book_id: linovelib_mobile_spider.py:145
                             8
[?] Which volumes you want to download?(use SPACE to select one or multiple volumes):
   [ ] 第十三卷 二年级篇 2
   [ ] 第十四卷 二年级篇 3
   [ ] 第十五卷 二年级篇 4
   [ ] 第15.5卷 二年级篇 4.5
   [ ] 第十六卷 二年级篇 5
   [ ] 第十七卷 二年级篇 6
   [ ] 第十八卷 二年级篇 7
   [ ] 第十九卷 二年级篇 8
   [ ] 第〇卷
   [ ] 第二十卷 二年级篇 9
   [ ] 第20.5卷 二年级篇 9.5
   [ ] 第二十一卷 二年级篇 10
 > [X] 第二十二卷 二年级篇 11

2024-04-04,16:12:22 INFO     LinovelibMobileSpider volume: 第二十二卷 二年级篇 11         linovelib_mobile_spider.py:161
2024-04-04,16:12:25 INFO     LinovelibMobileSpider chapter : 插图                         linovelib_mobile_spider.py:175

DevTools listening on ws://127.0.0.1:52724/devtools/browser/55e8e920-83b7-4954-9c4e-6d99bcc29dc1
2024-04-04,16:12:33 INFO     LinovelibMobileSpider  初始化 Driver 完毕...                 linovelib_mobile_spider.py:344
2024-04-04,16:12:35 INFO     LinovelibMobileSpider chapter : [插图] New Title= [插圖]     linovelib_mobile_spider.py:208
                    INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226398.html
2024-04-04,16:12:38 INFO     LinovelibMobileSpider chapter : 山村M纪的独白                linovelib_mobile_spider.py:175
2024-04-04,16:12:41 INFO     LinovelibMobileSpider chapter : [山村M纪的独白] New Title=   linovelib_mobile_spider.py:208
                             [山村美紀的獨白]
                    INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226399.html
2024-04-04,16:12:44 INFO     LinovelibMobileSpider chapter : 若隐若现的双方面谈           linovelib_mobile_spider.py:175
2024-04-04,16:12:47 INFO     LinovelibMobileSpider chapter : [若隐若现的双方面谈] New     linovelib_mobile_spider.py:208
                             Title= [若隱若現的雙方面談]
                    INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226400.html
2024-04-04,16:12:49 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226400_2.html
2024-04-04,16:12:52 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226400_3.html
2024-04-04,16:12:55 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226400_4.html
2024-04-04,16:12:57 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226400_5.html
2024-04-04,16:13:00 INFO     LinovelibMobileSpider chapter : 交流合宿                     linovelib_mobile_spider.py:175
2024-04-04,16:13:02 WARNING  LinovelibMobileSpider Request https://www.bilinovel.com/novel/8/226401_8.html   utils.py:52
                             succeed but data is empty, retry 1 times
                    WARNING  LinovelibMobileSpider current_num_of_request: 1; retry_interval: 1.14(s)        utils.py:77
2024-04-04,16:13:03 WARNING  LinovelibMobileSpider Request https://www.bilinovel.com/novel/8/226401_8.html   utils.py:52
                             succeed but data is empty, retry 2 times
                    WARNING  LinovelibMobileSpider current_num_of_request: 2; retry_interval: 2.24(s)        utils.py:77
2024-04-04,16:13:05 WARNING  LinovelibMobileSpider Request https://www.bilinovel.com/novel/8/226401_8.html   utils.py:52
                             succeed but data is empty, retry 3 times
                    WARNING  LinovelibMobileSpider current_num_of_request: 3; retry_interval: 4.39(s)        utils.py:77
2024-04-04,16:13:10 WARNING  LinovelibMobileSpider Request https://www.bilinovel.com/novel/8/226401_8.html   utils.py:52
                             succeed but data is empty, retry 4 times
                    WARNING  LinovelibMobileSpider current_num_of_request: 4; retry_interval: 8.92(s)        utils.py:77
2024-04-04,16:13:22 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226401.html
2024-04-04,16:13:24 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226401_2.html
2024-04-04,16:13:27 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226401_3.html
2024-04-04,16:13:29 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226401_4.html
2024-04-04,16:13:32 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226401_5.html
2024-04-04,16:13:35 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226401_6.html
2024-04-04,16:13:37 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226401_7.html
2024-04-04,16:13:40 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226401_8.html
2024-04-04,16:13:43 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226401_9.html
2024-04-04,16:13:46 INFO     LinovelibMobileSpider chapter : 堀北的请求与绫小路的请求     linovelib_mobile_spider.py:175
2024-04-04,16:13:49 INFO     LinovelibMobileSpider chapter : [堀北的请求与绫小路的请求]   linovelib_mobile_spider.py:208
                             New Title= [堀北的請求與綾小路的請求]
                    INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226402.html
2024-04-04,16:13:51 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226402_2.html
2024-04-04,16:13:54 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226402_3.html
2024-04-04,16:13:57 INFO     LinovelibMobileSpider chapter : 奇妙的违和感                 linovelib_mobile_spider.py:175
2024-04-04,16:14:00 INFO     LinovelibMobileSpider chapter : [奇妙的违和感] New Title=    linovelib_mobile_spider.py:208
                             [奇妙的違和感]
                    INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226403.html
2024-04-04,16:14:03 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226403_2.html
2024-04-04,16:14:05 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226403_3.html
2024-04-04,16:14:08 INFO     LinovelibMobileSpider chapter : 监视者,被监视者             linovelib_mobile_spider.py:175
2024-04-04,16:14:12 INFO     LinovelibMobileSpider chapter : [监视者,被监视者] New       linovelib_mobile_spider.py:208
                             Title= [監視者,被監視者]
                    INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226404.html
2024-04-04,16:14:14 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226404_2.html
2024-04-04,16:14:17 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226404_3.html
2024-04-04,16:14:20 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226404_4.html
2024-04-04,16:14:22 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226404_5.html
2024-04-04,16:14:25 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226404_6.html
2024-04-04,16:14:28 INFO     LinovelibMobileSpider chapter : 归于平静的终结               linovelib_mobile_spider.py:175
2024-04-04,16:14:32 INFO     LinovelibMobileSpider chapter : [归于平静的终结] New Title=  linovelib_mobile_spider.py:208
                             [歸於平靜的終結]
                    INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226405.html
2024-04-04,16:14:34 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226405_2.html
2024-04-04,16:14:37 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226405_3.html
2024-04-04,16:14:40 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226405_4.html
2024-04-04,16:14:42 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226405_5.html
2024-04-04,16:14:45 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226405_6.html
2024-04-04,16:14:47 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226405_7.html
2024-04-04,16:14:50 INFO     LinovelibMobileSpider chapter : 迈出的勇气                   linovelib_mobile_spider.py:175
2024-04-04,16:14:53 INFO     LinovelibMobileSpider chapter : [迈出的勇气] New Title=      linovelib_mobile_spider.py:208
                             [邁出的勇氣]
                    INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226406.html
2024-04-04,16:14:56 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226406_2.html
2024-04-04,16:14:59 INFO     LinovelibMobileSpider chapter : 谁是挑战者                   linovelib_mobile_spider.py:175
2024-04-04,16:15:02 INFO     LinovelibMobileSpider chapter : [谁是挑战者] New Title=      linovelib_mobile_spider.py:208
                             [誰是挑戰者]
                    INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226407.html
2024-04-04,16:15:05 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226407_2.html
2024-04-04,16:15:07 INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226407_3.html
2024-04-04,16:15:10 INFO     LinovelibMobileSpider chapter : 后记                         linovelib_mobile_spider.py:175
2024-04-04,16:15:13 INFO     LinovelibMobileSpider chapter : [后记] New Title= [後記]     linovelib_mobile_spider.py:208
                    INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226408.html
2024-04-04,16:15:16 INFO     LinovelibMobileSpider chapter : 茶柱佐枝特典 眼前的学生      linovelib_mobile_spider.py:175
2024-04-04,16:15:19 INFO     LinovelibMobileSpider chapter : [茶柱佐枝特典 眼前的学生]    linovelib_mobile_spider.py:208
                             New Title= [茶柱佐枝特典 眼前的學生]
                    INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226409.html
2024-04-04,16:15:22 INFO     LinovelibMobileSpider chapter : 椎名日和特典 不想忘却的回忆  linovelib_mobile_spider.py:175
2024-04-04,16:15:24 INFO     LinovelibMobileSpider chapter : [椎名日和特典                linovelib_mobile_spider.py:208
                             不想忘却的回忆] New Title= [椎名日和特典 不想忘卻的回憶]
                    INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226410.html
2024-04-04,16:15:27 INFO     LinovelibMobileSpider chapter : 森下蓝特典 请代替我倾听      linovelib_mobile_spider.py:175
2024-04-04,16:15:30 INFO     LinovelibMobileSpider chapter : [森下蓝特典 请代替我倾听]    linovelib_mobile_spider.py:208
                             New Title= [森下藍特典 請代替我傾聽]
                    INFO     LinovelibMobileSpider Processing page...                     linovelib_mobile_spider.py:237
                             https://www.bilinovel.com/novel/8/226411.html
                    INFO     LinovelibMobileSpider (Perf metrics) Fetch Book took:         linovelib_mobile_spider.py:55
                             192.94781769998372 seconds
2024-04-04,16:15:30 INFO     Linovelib2Epub The data of book(id=8) except image files is ready.           linovel.py:420
                    INFO     LinovelibMobileSpider Image download strategy: ASYNCIO                   base_spider.py:207
                    INFO     LinovelibMobileSpider len of image list: 33                              base_spider.py:215
                    INFO     LinovelibMobileSpider len of light_novel_images= 33                      base_spider.py:112
2024-04-04,16:15:31 INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://img3.readpai.com/0/8/226398/245401.jpg => local relative path
                             novel_images/www.bilinovel.com/8/0/245401.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://img3.readpai.com/0/8/226398/245403.jpg => local relative path
                             novel_images/www.bilinovel.com/8/0/245403.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://img3.readpai.com/0/8/226398/245405.jpg => local relative path
                             novel_images/www.bilinovel.com/8/0/245405.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://www.bilinovel.com/files/system/avatar/758/758166.jpg => local
                             relative path novel_images/www.bilinovel.com/8/0/758166.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://www.bilinovel.com/files/system/avatar/406/406361.jpg => local
                             relative path novel_images/www.bilinovel.com/8/0/406361.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://img3.readpai.com/0/8/226398/245407.jpg => local relative path
                             novel_images/www.bilinovel.com/8/0/245407.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://www.bilinovel.com/files/system/avatar/832/832386.jpg => local
                             relative path novel_images/www.bilinovel.com/8/0/832386.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://img3.readpai.com/0/8/226398/245399.jpg => local relative path
                             novel_images/www.bilinovel.com/8/0/245399.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://www.bilinovel.com/files/system/avatar/736/736940.jpg => local
                             relative path novel_images/www.bilinovel.com/8/0/736940.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://www.bilinovel.com/files/system/avatar/683/683006.jpg => local
                             relative path novel_images/www.bilinovel.com/8/0/683006.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://www.bilinovel.com/files/system/avatar/217/217090.jpg => local
                             relative path novel_images/www.bilinovel.com/8/0/217090.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://img1.readpai.com/0/8/226398/245392.jpg => local relative path
                             novel_images/www.bilinovel.com/8/0/245392.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://www.bilinovel.com/files/article/image/0/8/8s.jpg => local
                             relative path novel_images/www.bilinovel.com/8/8s.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://img3.readpai.com/0/8/226398/245404.jpg => local relative path
                             novel_images/www.bilinovel.com/8/0/245404.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://img1.readpai.com/0/8/226398/245404.jpg => local relative path
                             novel_images/www.bilinovel.com/8/0/245404.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://img1.readpai.com/0/8/226398/245407.jpg => local relative path
                             novel_images/www.bilinovel.com/8/0/245407.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://img1.readpai.com/0/8/226398/245405.jpg => local relative path
                             novel_images/www.bilinovel.com/8/0/245405.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://img1.readpai.com/0/8/226398/245398.jpg => local relative path
                             novel_images/www.bilinovel.com/8/0/245398.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://img1.readpai.com/0/8/226398/245406.jpg => local relative path
                             novel_images/www.bilinovel.com/8/0/245406.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://img3.readpai.com/0/8/226398/245406.jpg => local relative path
                             novel_images/www.bilinovel.com/8/0/245406.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://img3.readpai.com/0/8/226398/245400.jpg => local relative path
                             novel_images/www.bilinovel.com/8/0/245400.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://img1.readpai.com/0/8/226398/245397.jpg => local relative path
                             novel_images/www.bilinovel.com/8/0/245397.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://img3.readpai.com/0/8/226398/245398.jpg => local relative path
                             novel_images/www.bilinovel.com/8/0/245398.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://img3.readpai.com/0/8/226398/245402.jpg => local relative path
                             novel_images/www.bilinovel.com/8/0/245402.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://img1.readpai.com/0/8/226398/245403.jpg => local relative path
                             novel_images/www.bilinovel.com/8/0/245403.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://img1.readpai.com/0/8/226398/245401.jpg => local relative path
                             novel_images/www.bilinovel.com/8/0/245401.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://img1.readpai.com/0/8/226398/245402.jpg => local relative path
                             novel_images/www.bilinovel.com/8/0/245402.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://img1.readpai.com/0/8/226398/245399.jpg => local relative path
                             novel_images/www.bilinovel.com/8/0/245399.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://img1.readpai.com/0/8/226398/245400.jpg => local relative path
                             novel_images/www.bilinovel.com/8/0/245400.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://img1.readpai.com/0/8/226398/245393.jpg => local relative path
                             novel_images/www.bilinovel.com/8/0/245393.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://img1.readpai.com/0/8/226398/245394.jpg => local relative path
                             novel_images/www.bilinovel.com/8/0/245394.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://img1.readpai.com/0/8/226398/245395.jpg => local relative path
                             novel_images/www.bilinovel.com/8/0/245395.jpg ok.
                    INFO     LinovelibMobileSpider image url                                          base_spider.py:183
                             https://img1.readpai.com/0/8/226398/245396.jpg => local relative path
                             novel_images/www.bilinovel.com/8/0/245396.jpg ok.
                    INFO     LinovelibMobileSpider SUCCEED_COUNT: 33                                  base_spider.py:154
                    INFO     LinovelibMobileSpider [NEXT TURN]Pending task count: 0                   base_spider.py:155
                    INFO     LinovelibMobileSpider (Perf metrics) Download Images took:               base_spider.py:193
                             0.9820730993524194 seconds
2024-04-04,16:15:31 INFO     EpubWriter [Config]: has_illustration: True; divide_volume: True              linovel.py:42
C:\Users\power70521\AppData\Local\Programs\Python\Python310\lib\zipfile.py:1517: UserWarning: Duplicate name: 'EPUB/novel_images/www.bilinovel.com/8/0/245398.jpg'
  return self._open_to_write(zinfo, force_zip64=force_zip64)
C:\Users\power70521\AppData\Local\Programs\Python\Python310\lib\zipfile.py:1517: UserWarning: Duplicate name: 'EPUB/novel_images/www.bilinovel.com/8/0/245399.jpg'
  return self._open_to_write(zinfo, force_zip64=force_zip64)
C:\Users\power70521\AppData\Local\Programs\Python\Python310\lib\zipfile.py:1517: UserWarning: Duplicate name: 'EPUB/novel_images/www.bilinovel.com/8/0/245400.jpg'
  return self._open_to_write(zinfo, force_zip64=force_zip64)
C:\Users\power70521\AppData\Local\Programs\Python\Python310\lib\zipfile.py:1517: UserWarning: Duplicate name: 'EPUB/novel_images/www.bilinovel.com/8/0/245401.jpg'
  return self._open_to_write(zinfo, force_zip64=force_zip64)
C:\Users\power70521\AppData\Local\Programs\Python\Python310\lib\zipfile.py:1517: UserWarning: Duplicate name: 'EPUB/novel_images/www.bilinovel.com/8/0/245402.jpg'
  return self._open_to_write(zinfo, force_zip64=force_zip64)
C:\Users\power70521\AppData\Local\Programs\Python\Python310\lib\zipfile.py:1517: UserWarning: Duplicate name: 'EPUB/novel_images/www.bilinovel.com/8/0/245403.jpg'
  return self._open_to_write(zinfo, force_zip64=force_zip64)
C:\Users\power70521\AppData\Local\Programs\Python\Python310\lib\zipfile.py:1517: UserWarning: Duplicate name: 'EPUB/novel_images/www.bilinovel.com/8/0/245404.jpg'
  return self._open_to_write(zinfo, force_zip64=force_zip64)
C:\Users\power70521\AppData\Local\Programs\Python\Python310\lib\zipfile.py:1517: UserWarning: Duplicate name: 'EPUB/novel_images/www.bilinovel.com/8/0/245405.jpg'
  return self._open_to_write(zinfo, force_zip64=force_zip64)
C:\Users\power70521\AppData\Local\Programs\Python\Python310\lib\zipfile.py:1517: UserWarning: Duplicate name: 'EPUB/novel_images/www.bilinovel.com/8/0/245406.jpg'
  return self._open_to_write(zinfo, force_zip64=force_zip64)
C:\Users\power70521\AppData\Local\Programs\Python\Python310\lib\zipfile.py:1517: UserWarning: Duplicate name: 'EPUB/novel_images/www.bilinovel.com/8/0/245407.jpg'
  return self._open_to_write(zinfo, force_zip64=force_zip64)
2024-04-04,16:15:32 INFO     EpubWriter (Perf metrics) Write epub took: 0.8078119000419974 seconds         linovel.py:60
The output epub is located in this folder. (You can see the link if you use a modern shell.)
2024-04-04,16:15:32 INFO     Linovelib2Epub Write epub finished. Now delete all the artifacts if set.     linovel.py:427
                    INFO     Linovelib2Epub                                                               linovel.py:430
                             ============================================================================
                             ====

另外確認過前面的issue有提到linovelib2epub的版本為0.1.3

Package            Version     Editable project location
------------------ ----------- -------------------------
aiofiles           23.1.0
aiohttp            3.8.4
aiosignal          1.3.1
ansicon            1.89.0
async-timeout      4.0.3
attrs              23.2.0
beautifulsoup4     4.12.3
blessed            1.20.0
Brotli             1.1.0
bs4                0.0.1
certifi            2024.2.2
cffi               1.16.0
charset-normalizer 2.1.1
click              8.1.7
colorama           0.4.6
commonmark         0.9.1
cssselect          1.2.0
DataRecorder       3.4.12
demjson3           3.0.5
DownloadKit        2.0.0
DrissionPage       4.0.4.5
dynaconf           3.2.3
EbookLib           0.17.1
et-xmlfile         1.1.0
exceptiongroup     1.2.0
fake-useragent     1.1.1
filelock           3.13.3
frozenlist         1.4.1
h11                0.14.0
idna               3.6
inquirer           3.1.2
jinxed             1.2.1
linovelib2epub     0.1.3       H:\linovelib2epub
lxml               4.9.2
multidict          6.0.5
openpyxl           3.1.2
outcome            1.3.0.post0
Pillow             9.2.0
pip                22.2.1
psutil             5.9.8
pycparser          2.22
Pygments           2.17.2
PySocks            1.7.1
python-editor      1.0.4
readchar           4.0.6
requests           2.28.1
requests-file      2.0.0
rich               12.5.1
selenium           4.17.2
setuptools         63.2.0
six                1.16.0
sniffio            1.3.1
sortedcontainers   2.4.0
soupsieve          2.5
tabulate           0.9.0
tldextract         5.1.2
trio               0.25.0
trio-websocket     0.11.1
typing_extensions  4.10.0
urllib3            1.26.18
uuid               1.30
wcwidth            0.2.13
websocket-client   1.7.0
wsproto            1.2.0
yarl               1.9.4

usage.py內容

from linovelib2epub import Linovelib2Epub

if __name__ == '__main__':
    linovelib_epub = Linovelib2Epub(book_id=8, chapter_crawl_delay=3, page_crawl_delay=2, select_volume_mode=True)
    linovelib_epub.run()
@wdpm
Copy link
Member

wdpm commented Apr 4, 2024

  • 第一点:不要使用pypi安装模式

我暂时决定删掉pypi这种安装模式,因为我很久不打包了。因为目标网站经常变化,打包这种方式完全跟不上变化。请使用源码克隆到本地运行的模式。

  • 第二点:我决定添加github issue模版。

这样我才容易辨认错误发生的具体情况。

@CutyIMoDo
Copy link
Author

我不是用pypi安裝的

@wdpm
Copy link
Member

wdpm commented Apr 4, 2024

我不是用pypi安裝的

我在本地尝试了,是可以正常得到结果的。因为我不清楚你的环境,所以我只能猜测是chrome浏览器版本或者是网络环境问题?
image

Chrome 123.0.6312.105(正式版本)

@CutyIMoDo
Copy link
Author

我運行的時候他使用的瀏覽器好像是Edge不確定是不是什麼設定的關係他不是用chrome
我看他跑都是正常的我自己瀏覽網站跟小說也是正常的所以不太確定

@wdpm
Copy link
Member

wdpm commented Apr 4, 2024

那我大概率可以确定原因了,我本地用Edge那是100%拿不到正常数据的,就是内容为None。
所有我才用Chrome,但是目前linovelib代码中似乎我还没有开放API来设置浏览器路径,等我一个quickfix吧。

@wdpm
Copy link
Member

wdpm commented Apr 4, 2024

@CutyIMoDo 更新代码,然后查看文档说明,来重试。

@CutyIMoDo
Copy link
Author

重新安裝並嘗試後,有成功用chrome瀏覽器開啟,可是內容一樣是none
不知道有沒有可能是地區關係?log網址是www開頭的不過我開啟網站都是自動跳轉到tw開頭

@wdpm
Copy link
Member

wdpm commented Apr 4, 2024

不知道有沒有可能是地區關係?log網址是www開頭的不過我開啟網站都是自動跳轉到tw開頭

不是的。根据之前的渗透分析,他是根据浏览器的语言来判断。

<script type="text/javascript">
var ual = navigator.language.toLowerCase();
if(ual == 'zh-tw' || ual == 'zh-hk'){
  window.location.replace("https://tw.linovelib.com/novel/4065/229523.html");
}
</script>

如果浏览器语言设置为zh-tw或者zh-hk,那么就跳转到繁体的网站。

@CutyIMoDo
Copy link
Author

那有需要更改瀏覽器語言來防止跳轉嗎?還是有什麼解決方法呢?重複嘗試了幾次結果好像都一樣,不過我log上面爬到的標題也確實是跳轉後的繁體中文標題但內容不知道為什麼都爬不到

@wdpm
Copy link
Member

wdpm commented Apr 4, 2024

你有什么联系方式吗,可以远程桌面那种。我远程帮你看下,我凭空想象是很难知道你那边的问题的。

另外,浏览器语言我认为和这个bug关系不大。应该是其他问题。

@CutyIMoDo
Copy link
Author

Discord有嗎?我ID是cutyimodo

@wdpm wdpm added the bug Something isn't working label Apr 4, 2024
@wdpm wdpm self-assigned this Apr 4, 2024
@wdpm wdpm added 拉锯战 跟随网站变化而改变爬虫策略 Already Reproduced 已经被复现 labels Apr 4, 2024
@wdpm
Copy link
Member

wdpm commented Apr 4, 2024

@all-contributors add @CutyIMoDo as a contributor for bug.

Copy link
Contributor

@wdpm

I've put up a pull request to add @CutyIMoDo! 🎉

@wdpm
Copy link
Member

wdpm commented Apr 5, 2024

@CutyIMoDo 该问题已被正式修复。你可以尝试验证。

Copy link

github-actions bot commented Jun 5, 2024

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 0 days.

@github-actions github-actions bot added the Stale label Jun 5, 2024
Copy link

github-actions bot commented Jun 5, 2024

This issue was closed because it has been stalled for 0 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Already Reproduced 已经被复现 bug Something isn't working Stale 拉锯战 跟随网站变化而改变爬虫策略
Projects
None yet
Development

No branches or pull requests

2 participants