Integration with Altadefinizione and AnimeUnity, config.json management fix, and Telegram bot improvements #8

Closed
opened 2025-04-09 15:00:04 +00:00 by tcsenpai · 0 comments
Owner

Originally created by @RubyTemple on 3/16/2025

This pull request introduces several enhancements to integrate Telegram bot functionality for user interactions and notifications within the StreamingCommunity project. The most important changes include adding Telegram bot prompts for user input, sending status updates and error notifications via Telegram, and modifying existing functions to support these new features.

Enhancements to user interaction and notifications:

*Originally created by @RubyTemple on 3/16/2025* This pull request introduces several enhancements to integrate Telegram bot functionality for user interactions and notifications within the `StreamingCommunity` project. The most important changes include adding Telegram bot prompts for user input, sending status updates and error notifications via Telegram, and modifying existing functions to support these new features. Enhancements to user interaction and notifications: * [`StreamingCommunity/Api/Site/altadefinizione/__init__.py`](diffhunk://#diff-6a28715561def13675563f68eedeb16e8fbc30e29368bb4ba7feef79a804139dR37-R55): Added Telegram bot prompts for user input in the `search` function, allowing users to restart the script via Telegram. * [`StreamingCommunity/Api/Site/altadefinizione/film.py`](diffhunk://#diff-e481df28603b7dfa83b700f008b0b35fa3513deb4f7283d9b919b01ce0ec7543R44-R56): Integrated Telegram bot notifications for download status and error messages in the `download_film` function. [[1]](diffhunk://#diff-e481df28603b7dfa83b700f008b0b35fa3513deb4f7283d9b919b01ce0ec7543R44-R56) [[2]](diffhunk://#diff-e481df28603b7dfa83b700f008b0b35fa3513deb4f7283d9b919b01ce0ec7543R67-R69) [[3]](diffhunk://#diff-e481df28603b7dfa83b700f008b0b35fa3513deb4f7283d9b919b01ce0ec7543R78-R79) [[4]](diffhunk://#diff-e481df28603b7dfa83b700f008b0b35fa3513deb4f7283d9b919b01ce0ec7543R89-R91) [[5]](diffhunk://#diff-e481df28603b7dfa83b700f008b0b35fa3513deb4f7283d9b919b01ce0ec7543R116-R122) * [`StreamingCommunity/Api/Site/altadefinizione/series.py`](diffhunk://#diff-0c2cf5f2622bbe1d8cc06f7c3a7ef5540e67c83c83271be514bffbc6ea8a6eebR59-R75): Added Telegram bot prompts and notifications for season and episode downloads in the `download_series` function. [[1]](diffhunk://#diff-0c2cf5f2622bbe1d8cc06f7c3a7ef5540e67c83c83271be514bffbc6ea8a6eebR59-R75) [[2]](diffhunk://#diff-0c2cf5f2622bbe1d8cc06f7c3a7ef5540e67c83c83271be514bffbc6ea8a6eebR144-R146) [[3]](diffhunk://#diff-0c2cf5f2622bbe1d8cc06f7c3a7ef5540e67c83c83271be514bffbc6ea8a6eebR158-R175) [[4]](diffhunk://#diff-0c2cf5f2622bbe1d8cc06f7c3a7ef5540e67c83c83271be514bffbc6ea8a6eebR200-R207) * [`StreamingCommunity/Api/Site/altadefinizione/site.py`](diffhunk://#diff-e155c9b02bca4b85dd56ef3e8a7322dd6764de1d49501cdf2034794bb2c9fa4dR38-R40): Implemented Telegram bot notifications for search results and errors in the `title_search` function. [[1]](diffhunk://#diff-e155c9b02bca4b85dd56ef3e8a7322dd6764de1d49501cdf2034794bb2c9fa4dR38-R40) [[2]](diffhunk://#diff-e155c9b02bca4b85dd56ef3e8a7322dd6764de1d49501cdf2034794bb2c9fa4dR53-R65) [[3]](diffhunk://#diff-e155c9b02bca4b85dd56ef3e8a7322dd6764de1d49501cdf2034794bb2c9fa4dR85-R94) * [`StreamingCommunity/Lib/Downloader/HLS/segments.py`](diffhunk://#diff-da0a0a7f95e892343fde7868f431a0c62e39e21477fb771c1db997f2a60dea3fL40-R40): Corrected the `REQUEST_VERIFY` configuration type from `int` to `bool`. The incorrect value was then saved in `self.cache`, propagating the error.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/StreamingCommunity#8
No description provided.