movie-bot-api
Advanced tools
| Metadata-Version: 2.1 | ||
| Name: movie-bot-api | ||
| Version: 0.0.53 | ||
| Version: 0.0.54 | ||
| Summary: 智能影音机器人MovieBot的接口SDK | ||
@@ -10,3 +10,2 @@ Home-page: https://github.com/pofey/movie-bot-api | ||
| Keywords: movie bot,movie robot | ||
| Platform: UNKNOWN | ||
| Classifier: License :: OSI Approved :: MIT License | ||
@@ -50,2 +49,1 @@ Classifier: Intended Audience :: Developers | ||
| py -3 -m pip install -U movie-bot-api | ||
@@ -9,3 +9,3 @@ from abc import ABCMeta, abstractmethod | ||
| UA = 'moviebotapi/0.0.53' | ||
| UA = 'moviebotapi/0.0.54' | ||
| URLTypes = Union["URL", str] | ||
@@ -12,0 +12,0 @@ HeaderTypes = Union[ |
@@ -130,3 +130,6 @@ import datetime | ||
| elif func == datetime.datetime: | ||
| return datetime.datetime.strptime(value, '%Y-%m-%d %H:%M:%S') | ||
| if value: | ||
| return datetime.datetime.strptime(value, '%Y-%m-%d %H:%M:%S') | ||
| else: | ||
| return None | ||
| elif func in [Dict, dict]: | ||
@@ -133,0 +136,0 @@ return _dict_value(value) |
+17
-0
@@ -193,1 +193,18 @@ import datetime | ||
| return [Torrent(x) for x in torrents] | ||
| def search_remote(self, query: Union[SearchQuery, List[SearchQuery]], | ||
| cate_level1: Optional[List[CateLevel1]] = None, timeout: Optional[int] = 15, | ||
| site_id: Optional[List[str]] = None) -> List[Torrent]: | ||
| if isinstance(query, SearchQuery): | ||
| query = [{'key': query.key.value, 'value': query.value}] | ||
| elif isinstance(query, list): | ||
| query = [{'key': str(x.key), 'value': x.value} for x in query] | ||
| torrents = self._session.post('site.search_remote', { | ||
| 'query': query, | ||
| 'cate_level1': cate_level1, | ||
| 'timeout': timeout, | ||
| 'site_id': site_id | ||
| }) | ||
| if not torrents: | ||
| return [] | ||
| return [Torrent(x) for x in torrents] |
+1
-3
| Metadata-Version: 2.1 | ||
| Name: movie-bot-api | ||
| Version: 0.0.53 | ||
| Version: 0.0.54 | ||
| Summary: 智能影音机器人MovieBot的接口SDK | ||
@@ -10,3 +10,2 @@ Home-page: https://github.com/pofey/movie-bot-api | ||
| Keywords: movie bot,movie robot | ||
| Platform: UNKNOWN | ||
| Classifier: License :: OSI Approved :: MIT License | ||
@@ -50,2 +49,1 @@ Classifier: Intended Audience :: Developers | ||
| py -3 -m pip install -U movie-bot-api | ||
+1
-1
@@ -16,3 +16,3 @@ # -*- coding: utf-8 -*- | ||
| name='movie-bot-api', | ||
| version='0.0.53', | ||
| version='0.0.54', | ||
| author='yee', | ||
@@ -19,0 +19,0 @@ author_email='yipengfei329@gmail.com', |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
81597
1%2187
0.88%