cdhigh / KindleEar

Aggregates RSS and web content(Calibre recipe), sends to Kindle, and includes an e-ink optimized online reader.
http://cdhigh.github.io/KindleEar/
MIT License
2.71k stars 631 forks source link

有一些rss总是显示nonews无法推送 #700

Closed jcrdxl closed 1 month ago

jcrdxl commented 2 months ago

image 这是那个rsshttps://www.52pojie.cn/forum.php?mod=rss 这是我的设置 image image 本人小白,如能得到解答万分感谢 如有需要看的别的东西告诉我

jcrdxl commented 2 months ago

image image 只有部分可以正常推送

cdhigh commented 2 months ago
  1. 52pojie无法推送是代码中有bug,github代码库已修正,暂未同步到Docker hub(待此issue彻底解决后再同步),不过因为52pojie是论坛格式,一层楼一层楼的,算法无法自动提取正文,所以在电子书上的阅读效果会很差,最好写一个recipe,提取里面每层楼的内容然后合并,也可以合并各个分页的内容。
  2. 果壳网/澎湃新闻 我推送是正常的。
  3. 酷安-晨钟酱 我不知道是哪个rss地址。
jcrdxl commented 2 months ago

这个酷安的是rsshub里的 https://rsshub.app/coolapk/user/630380/dynamic

Screenshot_2024-07-19-11-45-26-100_com.termux.jpgScreenshot_2024-07-19-11-46-17-559_com.termux.jpg 上面截图的东西我复制在下面了

Traceback (most recent call last):                      File "/usr/kindleear/application/lib/urlopener.py", line 105, in open_remote_url                              resp = req_func(url, data=data, headers=headers, timeout=timeout, allow_redirects=True,                   File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 602, in get
    return self.request("GET", url, **kwargs)           File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)               File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 703, in send                         r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 700, in send                         raise ConnectionError(e, request=request)         requests.exceptions.ConnectionError: HTTPSConnectionPool(host='feedx.net', port=443): Max retries exceeded with url: /rss/thepaper.xml (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa165461c40>: Failed to establish a new connection: [Errno 101] Network unreachable'))                       
[2024-07-19 03:44:53 +0000] WARNING [news.py:1959] Failed feed: 澎湃新闻: Exception Cannot fetch https://feedx.net/rss/thepaper.xml:555 [news.py:1956->...->news.py:1956->news.py:1956]                                 [2024-07-19 03:44:53 +0000] WARNING [recipe_input.py:92] Failed to execute recipe "澎湃新闻": No articles found, aborting                                         [2024-07-19 03:44:53 +0000] WARNING [plumber.py:401] Plumber: All feeds are empty, aborting.                [2024-07-19 03:44:53 +0000] WARNING [worker.py:154] There are no new feeds available: admin: [KindleEar]    root@jcrdxlvps:~/data#
jcrdxl commented 2 months ago

这能看出问题来嘛,,为啥我的还是推不了。是服务器用docker装的

cdhigh commented 1 month ago

我分别在我的Oracle服务器和本机上测试,酷安和澎湃新闻 都能正常推送。

555这个错误有几种可能的情况:

  1. 被墙了
  2. 对方服务器封锁了你的IP
  3. 你的VPS的网络配置问题
jcrdxl commented 1 month ago

ok啦,的确是网络问题,感谢开发者这么热情帮我找原因