Steven630

Results 101 comments of Steven630

太感谢了!这两天试试。最新的commit右侧显示红色的叉(failure),不知道会不会有影响?

明白了。刚才部署到了cloudflare,是否URL就是: https://my-worker.subdomain.workers.dev/?k=xzSlE&t=timeout&u=URL 如何判断部署已经成功呢?

刚才又试了一下,应该是可以了。

RFA源用了全文rss,推送到Kindle上图片说明的文字会超出Kindle边界,不知道为什么。 另外转发器打开纽约时报的链接是空白,比如:https://www.nytimes.com/2024/08/12/us/politics/us-china-working-group-trade.html

这两天Calibre好像更新了抓取的代码,看到mobileread作者和网友讨论Science recipe时提到会更新:https://www.mobileread.com/forums/showthread.php?t=362642 昨天还有更新,不知道对KE有无帮助:https://github.com/kovidgoyal/calibre/commit/e8453ed5906362e580592c4b2976f775b5424c88 ![Screenshot_20240815_223334.jpg](https://github.com/user-attachments/assets/00e5c1e2-f9d4-4b5d-915e-b301ff65debc)

Science的recipe应该需要支持才能显示图片,Calibre作者这两天刚上传的这个recipe,应该是新版已经解决了这个问题。另外不知道NYT能不能靠此解决

用这个NYT的recipe:https://github.com/kovidgoyal/calibre/blob/master/recipes/nytfeeds.recipe 错误提示: [simple.py:649] Could not fetch link https://www.nytimes.com/2024/09/23/opinion/iron-air-battery-china.html: NameError name 'datestring' is not defined [simple.py:604->...->:68->iso8601.py:16] [recipe_input.py:89] Failed to execute recipe "NYT News": ValueError No articles downloaded, aborting [recipe_input.py:87->...->news.py:1249->news.py:1562]

上传封面图片,20kb左右的jpg格式,总是提示error,不知道为何

原来用的Chrome,确实换成edge就可以了。 今天NYT又有下面的错误,是触发了反爬虫机制吗 Traceback (most recent call last): File "/workspace/application/lib/urlopener.py", line 110, in open_remote_url resp = req_func(url, data=data, headers=headers, timeout=timeout, allow_redirects=True, File "/layers/google.python.pip/pip/lib/python3.10/site-packages/requests/sessions.py", line 602, in get return self.request("GET", url, **kwargs)...

> 是的,可以考虑将recipe的simultaneous_downloads设置为1,关闭多线程下载。 > 如果还不够,再考虑设置一个合理的delay值,单位为秒,但是可以使用浮点数表示小于一秒的网络抓取间隔。 好的。有的recipe重新抓一次就又可以了,能不能考虑遇到网络问题抓取失败,加个10分钟后自动重新下载的功能,让用户选择是否开启。 主页面的日志,no news提示更详细点,分为两类,一类是真的没有更新的文章,一类是因为网络或页面失败抓取失败。