Xiang Li
Xiang Li
Hi @webmasterish, The images on third-party CDN work there. The images with absolute src can be addressed by calling `url.resolve(path: string): string`. But for those images with relative src (`./test.jpg`,...
#4 检查发现是宏中的 Declear 语句在64位系统上的适用性问题,已经检查修复,发了一个 Pull request。 from `Private Declare Function sndPlaySound32 Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long` to `Private Declare PtrSafe Function...
小宇宙获取评论的接口更新了:`POST https://api.xiaoyuzhoufm.com/v1/comment/list-primary`,网页会直接返回渲染好的前5条热门评论。 除了同样需要带 `x-jike-device-id` 和 `x-jike-refresh-token` 以外,还需要如下形式的 POST body (`Content-Type: application/json`) ```js { "loadMoreKey"?: { // 在第一次返回的 response body 里 "direction": "NEXT", "hotSortScore": 0.9816053193880766, "id": "63647cb73728f10010c6ae3b" }, "owner": { "type":...
Demo: https://rss.shawnxli.com/fanpie-film-{review,ma,er}
你好,我本地把这个项目跑起来了,也修改了一下抓取页内音频,可以生成马后炮、耳旁风的Feed。顺便记一下项目的工作流程,可能的话写在项目的README/文档里会更好: 1. 生成`output.json` - 使用[`fanPie/all_episodes.py`](fanPie/all_episodes.py)(全部节目)或者[`fanPie/update.py`](fanPie/update.py)(在`main()`里定义的新单集)获取`output.json` - 使用Scrapy框架,逻辑主要分布在[`fanPie/fanPie/pipelines.py`](./fanPie/fanPie/pipelines.py)、[`fanPie/fanPie/spiders/__init__.py`](fanPie/fanPie/spiders/__init__.py)、[`fanPie/fanPie/spiders/episodes.py`](fanPie/fanPie/spiders/episodes.py)和[`fanPie/fanPie/spiders/episode.py`](fanPie/fanPie/spiders/episode.py) ```typescript const output_json: Array; interface FanpieFilmItem { title: string; episode: string; film: string; hosts?: Array; link: string; shownotes: { shownotes_original: string; film_list_range?: Array;...