-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
add rss feed for mirror #8641
add rss feed for mirror #8641
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/diy/rsshub/HRerQ84Xz8dmFj6oNnfjYxF3wDAw |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Use
Close #8567
instead of mentioning it. - Please use v2 script standard v2 路由规范 #8236
|
||
<Route author="fifteen42" example="/mirror/tingfei.eth" path="/mirror/:id" :paramsDesc="['user id']" /> | ||
|
||
### |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why there is an empty title?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is useless, I make a mistake.
title: item.find('.css-1b1esvm').first().text(), | ||
author: item.find('.css-1sdf1k3').first().text(), | ||
description: item.find('.css-1koo5r3').text(), | ||
pubDate: item.find('.css-qng491').text(), | ||
link: link + item.find('.css-cts56n a').attr('href'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that the website is using the CSS-in-JS approach, which means the className
can be random.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for remanding, I tested some pages and It works, I will try to find another way to get the content if it don't work.
Co-authored-by: Sukka <isukkaw@gmail.com>
The route path is a link for test, which can access by preview. In your situation, it's https://rsshub-git-fork-fifteen42-master-diy.vercel.app/mirror/entries. But it will return 404. |
The preview link should be https://rsshub-git-fork-fifteen42-master-diy.vercel.app/mirror/tingfei.eth |
The article link for *.eth should be https://mirror.xyz/*.eth/contentId rather than https://mirror.xyz/*.eth/*.eth/contentId as shown in the rss feed. (this problem is also found in 0x addresses) RSS feed for *.mirror.xyz works properly. |
该 PR 相关 Issue / Involved issue
#8567
完整路由地址 / Example for the proposed route(s)
新RSS检查列表 / New RSS Script Checklist
Puppeteer
说明 / Note