DIYgod / RSSHub

🧡 Everything is RSSible
https://docs.rsshub.app
MIT License
30.69k stars 6.86k forks source link

Invalid Google Scholar citation item URLs (which may also lead to broken RSS feed parsing) #14275

Closed const7 closed 5 months ago

const7 commented 5 months ago

Routes

/google/citations/:id

Full routes

/google/citations/mlmE4JMAAAAJ
/google/citations/mlmE4JMAAAAJ&sortby=pubdate

Related documentation

https://docs.rsshub.app/routes/journal#google-scholar-author-citations

What is expected?

  1. Clicking on an item's link should redirect to the corresponding article's Google Scholar page
  2. The RSS readers should parse all items in the RSS feed (https://rsshub.app/google/citations/mlmE4JMAAAAJ)

What is actually happening?

  1. All items link to an invalid URL (https://scholar.google.comundefined)
  2. Only the first item can be parsed by the RSS reader (I tried freshrss & zotero)

Deployment information

RSSHub demo (https://rsshub.app)

Deployment information (for self-hosted)

No response

Additional info

I will submit a PR with bug fix & some code/document improvements ASAP.

This is not a duplicated issue

github-actions[bot] commented 5 months ago
Searching for maintainers:

To maintainers: if you are not willing to be disturbed, list your username in scripts/workflow/test-issue/call-maintainer.js. In this way, your username will be wrapped in an inline code block when tagged so you will not be notified.

如果所有路由都无法匹配,issue 将会被自动关闭。如果 issue 和路由无关,请使用 NOROUTE 关键词,或者留下评论。我们会重新审核。 If all routes can not be found, the issue will be closed automatically. Please use NOROUTE for a route-irrelevant issue or leave a comment if it is a mistake.