Service¶
service.tvtime_data
¶
TVTime Data Service
Returns:
Name | Type | Description |
---|---|---|
TVTimeDataService | Service to handle tvtime data |
TVTimeDataService
¶
Source code in src/service/tvtime_data.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
|
redis = redis_client
instance-attribute
¶
__init__(redis_client)
¶
Source code in src/service/tvtime_data.py
14 15 |
|
get_all_data(username)
¶
Source code in src/service/tvtime_data.py
24 25 |
|
get_not_started_yet(username)
¶
Source code in src/service/tvtime_data.py
33 34 |
|
get_not_watched_for_while(username)
¶
Source code in src/service/tvtime_data.py
30 31 |
|
get_status(username)
¶
Source code in src/service/tvtime_data.py
17 18 19 20 21 22 |
|
get_watch_next(username)
¶
Source code in src/service/tvtime_data.py
27 28 |
|
service.tvtime_scraper
¶
TVTime Scraper Service
Returns:
Name | Type | Description |
---|---|---|
TVTimeScraperService | Service to handle scraper tasks |
TVTimeScraperService
¶
Source code in src/service/tvtime_scraper.py
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
|
celery = celery
instance-attribute
¶
redis = redis_client
instance-attribute
¶
__init__(redis_client)
¶
Source code in src/service/tvtime_scraper.py
18 19 20 |
|
get_status(task_id)
¶
Source code in src/service/tvtime_scraper.py
27 28 29 30 31 |
|
scrape(user)
¶
Source code in src/service/tvtime_scraper.py
22 23 24 25 |
|