mirror of
https://github.com/tgbot-collection/YYeTsBot.git
synced 2025-11-25 11:29:38 +08:00
A lot of bumps
This commit is contained in:
committed by
BennyThink
parent
7715567f1d
commit
0ede098964
@@ -1,19 +1,18 @@
|
|||||||
requests==2.24.0
|
requests==2.27.0
|
||||||
pytelegrambotapi==4.2.2
|
pytelegrambotapi==4.2.2
|
||||||
beautifulsoup4==4.9.1
|
beautifulsoup4==4.10.0
|
||||||
tgbot-ping
|
tgbot-ping
|
||||||
redis==3.5.3
|
redis==4.0.2
|
||||||
apscheduler==3.7.0
|
apscheduler==3.8.1
|
||||||
pymongo==3.11.2
|
pymongo==4.0.1
|
||||||
tornado==6.1
|
tornado==6.1
|
||||||
redis==3.5.3
|
|
||||||
captcha==0.3
|
captcha==0.3
|
||||||
passlib==1.7.4
|
passlib==1.7.4
|
||||||
fakeredis==1.5.0
|
fakeredis==1.7.0
|
||||||
pytz==2021.1
|
pytz==2021.3
|
||||||
filetype==1.0.7
|
filetype==1.0.9
|
||||||
requests[socks]
|
requests[socks]
|
||||||
tqdm==4.61.1
|
tqdm==4.62.3
|
||||||
retry==0.9.2
|
retry==0.9.2
|
||||||
pymysql
|
pymysql
|
||||||
git+https://github.com/tgbot-collection/python-akismet
|
git+https://github.com/tgbot-collection/python-akismet
|
||||||
|
|||||||
@@ -559,6 +559,7 @@ class ResourceMongoResource(ResourceResource, Mongo):
|
|||||||
returned = dict(data=final)
|
returned = dict(data=final)
|
||||||
returned["extra"] = []
|
returned["extra"] = []
|
||||||
else:
|
else:
|
||||||
|
# TODO how to generate code using ORDER here
|
||||||
extra = self.fansub_search(NewzmzOnline.__name__, keyword) or \
|
extra = self.fansub_search(NewzmzOnline.__name__, keyword) or \
|
||||||
self.fansub_search(ZhuixinfanOnline.__name__, keyword) or \
|
self.fansub_search(ZhuixinfanOnline.__name__, keyword) or \
|
||||||
self.fansub_search(XL720.__name__, keyword) or \
|
self.fansub_search(XL720.__name__, keyword) or \
|
||||||
@@ -1038,7 +1039,7 @@ class ResourceLatestMongoResource(ResourceLatestResource, Mongo):
|
|||||||
col = self.db["yyets"]
|
col = self.db["yyets"]
|
||||||
projection = {"_id": False, "status": False, "info": False}
|
projection = {"_id": False, "status": False, "info": False}
|
||||||
episode_data = {}
|
episode_data = {}
|
||||||
for res in tqdm(col.find(projection=projection), total=col.count()):
|
for res in tqdm(col.find(projection=projection), total=col.count_documents({})):
|
||||||
for season in res["data"].get("list", []):
|
for season in res["data"].get("list", []):
|
||||||
for item in season["items"].values():
|
for item in season["items"].values():
|
||||||
for single in item:
|
for single in item:
|
||||||
|
|||||||
Reference in New Issue
Block a user