Skip to content

fix natgeo (page structure change)#2111

Merged
DIYgod merged 2 commits intoDIYgod:masterfrom
fengkx:fix/natgeo
May 12, 2019
Merged

fix natgeo (page structure change)#2111
DIYgod merged 2 commits intoDIYgod:masterfrom
fengkx:fix/natgeo

Conversation

@fengkx
Copy link
Copy Markdown
Contributor

@fengkx fengkx commented May 12, 2019

fix natgeo (page structure change)

item.description = $('.td-post-content').html();
ctx.cache.set(key, item.description);
const link = urlList[i];
const { data } = await axios.get(link);
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

需要使用缓存

@DIYgod DIYgod merged commit aadc66b into DIYgod:master May 12, 2019
@DIYgod
Copy link
Copy Markdown
Owner

DIYgod commented May 12, 2019

Merged, thanks!

@xyqfer
Copy link
Copy Markdown
Contributor

xyqfer commented May 24, 2019

这里有个问题,为啥把每日一图的路由 (/natgeo/dailyphoto) 删了,然而文档还在。。(正纳闷怎么这么久没数据了)
https://docs.rsshub.app/picture.html#%E6%AF%8F%E6%97%A5%E4%B8%80%E5%9B%BE

顺便 @LogicJake

@LogicJake
Copy link
Copy Markdown
Contributor

这里有个问题,为啥把每日一图的路由 (/natgeo/dailyphoto) 删了,然而文档还在。。(正纳闷怎么这么久没数据了)
https://docs.rsshub.app/picture.html#%E6%AF%8F%E6%97%A5%E4%B8%80%E5%9B%BE

顺便 @LogicJake

不应该删的啊,这是两个东西。

@DIYgod
Copy link
Copy Markdown
Owner

DIYgod commented May 24, 2019

这里有个问题,为啥把每日一图的路由 (/natgeo/dailyphoto) 删了,然而文档还在。。(正纳闷怎么这么久没数据了)
docs.rsshub.app/picture.html#%E6%AF%8F%E6%97%A5%E4%B8%80%E5%9B%BE

顺便 @LogicJake

加回来了 78a8041

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

Successfully merging this pull request may close these issues.

4 participants