DIYgod / DIYgod/RSSHub

Error when requesting New York Times' English feed

Open
#12,371 1 comment 0 reactions 0 assignees View on GitHub
route: v2 RSS bug
Dominant language
TypeScript
Stars
46.2k
Forks
10.2k
Avg merge
8h 48m
Merged PRs (30d)
175

Description

### Routes

```routes
/nytimes/:lang?
```

### Full routes

```fullroutes
/nytimes/en
```

### Related documentation

https://docs.rsshub.app/en/traditional-media.html#the-new-york-times

### What is expected?

RSS Feed from the New York Times

### What is actually happening?

An error page is returned with the following information
```
Looks like something went wrong

Route requested: /en

Error message: Cannot read properties of null (reading 'replace')

Helpful Information to provide when opening issue:
Path: /en
Node version: v18.16.0
Git Hash: 31ea624
```

### Deployment information

RSSHub demo (https://rsshub.app)

### Deployment information (for self-hosted)

_No response_

### Additional info

```shell
This error can be replicated with both the RSSHub demo and self-hosted using the latest docker container on diygod/rsshub:chromium-bundled
```

### This is not a duplicated issue

- [X] I have searched [existing issues](https://github.com/DIYgod/RSSHub/issues) to ensure this bug has not already been reported

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.