Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

movie-bot-api

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

movie-bot-api - npm Package Compare versions

Comparing version
0.0.53
to
0.0.54
+1
-3
movie_bot_api.egg-info/PKG-INFO
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)

@@ -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]
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

@@ -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',