suisei-cn / suisei-live-watch Goto Github PK
View Code? Open in Web Editor NEW[DEPRECATED] General-purpose YouTube live/video notification to Telegram.
Home Page: https://npmjs.com/package/yt-watch
License: MIT License
[DEPRECATED] General-purpose YouTube live/video notification to Telegram.
Home Page: https://npmjs.com/package/yt-watch
License: MIT License
As per, https://twitter.com/outloudvi/status/1247827989984768001
Seems that Telegram is having problems fetching descriptions and/or thumbnails from YouTube. We can provide an option (and turn it on by default!) to fetch the image URL and send it, or even fetch the image itself and send it.
Suisei seems to be used to set-up a stream schedule far from present to make a real-time chat space (e.g. https://youtube.com/watch?v=O9V_EFbgpKQ , or https://archive.is/0myIP ). Therefore, we shall count them as invalid items and not recording them to the cron.
Google PSHB also gives entry deletion update, an example update is:
<at:deleted-entry ref="yt:video:QT33Vo-HHRc" when="2020-04-13T12:16:03+00:00">
<link href="https://www.youtube.com/watch?v=QT33Vo-HHRc"/>
<at:by>
<name>Suisei Channel</name>
<uri>https://www.youtube.com/channel/UC5CwaMl1eIgY8h02uZw7u8A</uri>
</at:by>
</at:deleted-entry>
When verifying, we should save the lease_seconds
and renew the subscription before this limit.
https://pubsubhubbub.github.io/PubSubHubbub/pubsubhubbub-core-0.4.html#verifysub
When the video info is modified frequently, many messages sent to Telegram group in a short time. To avoid noisy messages, we can modify the old message (rather than sending a new message) for those changes. We should also provide a configuration to determine how much the duration between two edits is when we edit a message.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.