Question:
I am trying to fetch data from nyaa.si using RSS parser but replit shows
Error: connect ECONNREFUSED 0.0.0.0:443.
This error only shows up on replit.
Code Snippet
let Parser = require('rss-parser');
let parser = new Parser();
(async () => {
const query='Kimetsu no yaiba 1080p'
console.log()
let feed = await parser.parseURL('https://nyaa.si/?page=rss&q='+query.split(' ').join('+'));
console.log(feed.items);
})();
1 Like
Hi @neetlevelsouma welcome to the community!
The reason the above code isn’t working is due to how you are attempting to connect to the website. Port numbers are required here.
I would also check the Replit Terms of Service
before continuing with this program as it looks like you are attempting to filter a torrent service.
system
Closed
3
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.