A lot of bumps

This commit is contained in:
dependabot[bot]
2022-01-04 13:32:49 +00:00
committed by BennyThink
parent 7715567f1d
commit 0ede098964
2 changed files with 11 additions and 11 deletions

View File

@@ -1,19 +1,18 @@
requests==2.24.0
requests==2.27.0
pytelegrambotapi==4.2.2
beautifulsoup4==4.9.1
beautifulsoup4==4.10.0
tgbot-ping
redis==3.5.3
apscheduler==3.7.0
pymongo==3.11.2
redis==4.0.2
apscheduler==3.8.1
pymongo==4.0.1
tornado==6.1
redis==3.5.3
captcha==0.3
passlib==1.7.4
fakeredis==1.5.0
pytz==2021.1
filetype==1.0.7
fakeredis==1.7.0
pytz==2021.3
filetype==1.0.9
requests[socks]
tqdm==4.61.1
tqdm==4.62.3
retry==0.9.2
pymysql
git+https://github.com/tgbot-collection/python-akismet

View File

@@ -559,6 +559,7 @@ class ResourceMongoResource(ResourceResource, Mongo):
returned = dict(data=final)
returned["extra"] = []
else:
# TODO how to generate code using ORDER here
extra = self.fansub_search(NewzmzOnline.__name__, keyword) or \
self.fansub_search(ZhuixinfanOnline.__name__, keyword) or \
self.fansub_search(XL720.__name__, keyword) or \
@@ -1038,7 +1039,7 @@ class ResourceLatestMongoResource(ResourceLatestResource, Mongo):
col = self.db["yyets"]
projection = {"_id": False, "status": False, "info": False}
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 item in season["items"].values():
for single in item: