mirror of
https://github.com/Araon/Meido.git
synced 2025-02-20 11:13:20 +08:00
29 lines
818 B
Markdown
29 lines
818 B
Markdown
# Requirements
|
|
|
|
* Send anime to user
|
|
* downaload anime from website and upload to telegram
|
|
* provide data related to animes
|
|
|
|
# Data Model
|
|
|
|
* DB Models
|
|
* seriesName
|
|
- id *Primary Key*
|
|
- Series_name
|
|
- Season_id
|
|
- Episode_id
|
|
|
|
# Happy Path
|
|
* /get and /getall
|
|
1. call a function videoFetcher(user_input).
|
|
2. the videoFetcher will check in mapping db if found return file_id
|
|
3. if the not found in mapping db will call downloadVideoService and it will return file_path,file_name,duration
|
|
4. then uploadVideoService will take the file_path as input return file_id after uploading
|
|
5. the file_id will be then returned
|
|
|
|
# Expansion
|
|
|
|
* Send anime directly to user who has subscribed to them
|
|
* Pre-download animes that are popular
|
|
* watched list
|
|
* recomendation |