-
Notifications
You must be signed in to change notification settings - Fork 85
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
Need an endpoint for Telegram -> RSS parsing #15
Comments
Hello! I'm interested in this. I will work on this in this weekends. |
Maybe this can help? |
can you give an example of this three project? Probably it would be beneficial to understand what was wrong. |
@WeaxMe cool, thanks. You can create another django app for that. Like @mishfish interesting project to use with other sites, but it doesn't seem to support Telegram (at least as I can see) @toxaz |
@vas3k Looks like rss-bridge supports Telegram - https://github.com/RSS-Bridge/rss-bridge/blob/master/bridges/TelegramBridge.php |
@viacheslavleonov ah, but it's PHP :D |
rsshub too opensource https://github.com/DIYgod/RSSHub |
Wow, didn't know about RSSHub, thanks for sharing. I also searched for anything working recently, found nothing, wrote the script this weekend based on telethone and rfeed https://gist.github.com/vshlapakov/5507afb30b01b8c3a666970ddcd01d1b. I'm using a separate Telegram account for channels, the script walks through all of them and creates RSS feed file for each, then puts it right to the nginx-served directory to be read later by any RSS feed reader (also downloads images locally if possible). It's far from ideal but works well in most cases, though doesn't support videos yet (I haven't found a way to get a public link for a telegram media attachment, so went the most straightforward way). The funniest thing here is that I came to the idea after hanging out at infomate.club. |
Done in #16 |
I used three different services to get RSS feeds from Telegram channels. One of them got me banned, the second one returns an error 500 from time to time, the third was Chinese and it inserts hieroglyphs into the feeds :D
I think it's time to use some github library and write our own parser. It would be nice to have an endpoint that takes the Telegram channel name and returns its RSS. Don't forget about pics and videos.
If anyone want to help me with that — feel free to comment below and open a PR.
The text was updated successfully, but these errors were encountered: