warp-beacon 2.1.4__py3-none-any.whl → 2.1.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- warp_beacon/__version__.py +1 -1
- warp_beacon/scraper/__init__.py +1 -1
- warp_beacon/scraper/account_selector.py +1 -0
- warp_beacon/scraper/instagram/instagram.py +2 -1
- {warp_beacon-2.1.4.dist-info → warp_beacon-2.1.6.dist-info}/METADATA +1 -1
- {warp_beacon-2.1.4.dist-info → warp_beacon-2.1.6.dist-info}/RECORD +10 -10
- {warp_beacon-2.1.4.dist-info → warp_beacon-2.1.6.dist-info}/LICENSE +0 -0
- {warp_beacon-2.1.4.dist-info → warp_beacon-2.1.6.dist-info}/WHEEL +0 -0
- {warp_beacon-2.1.4.dist-info → warp_beacon-2.1.6.dist-info}/entry_points.txt +0 -0
- {warp_beacon-2.1.4.dist-info → warp_beacon-2.1.6.dist-info}/top_level.txt +0 -0
warp_beacon/__version__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
__version__ = "2.1.
|
1
|
+
__version__ = "2.1.6"
|
2
2
|
|
warp_beacon/scraper/__init__.py
CHANGED
@@ -68,7 +68,7 @@ class AsyncDownloader(object):
|
|
68
68
|
def try_next_account(self, job: DownloadJob, report_error: str = None) -> None:
|
69
69
|
logging.warning("Switching account!")
|
70
70
|
if job.account_switches > self.acc_selector.count_service_accounts(job.job_origin):
|
71
|
-
raise AllAccountsFailed()
|
71
|
+
raise AllAccountsFailed("All config accounts failed!")
|
72
72
|
if report_error:
|
73
73
|
self.acc_selector.bump_acc_fail("rate_limits")
|
74
74
|
self.acc_selector.next()
|
@@ -62,6 +62,7 @@ class AccountSelector(object):
|
|
62
62
|
def next(self) -> dict:
|
63
63
|
self.current = next(self.acc_pool)
|
64
64
|
self.index = self.accounts[self.current_module_name].index(self.current)
|
65
|
+
logging.info("Next account index is '%d'", self.index)
|
65
66
|
return self.current
|
66
67
|
|
67
68
|
def bump_acc_fail(self, key: str, amount: int = 1) -> int:
|
@@ -73,6 +73,7 @@ class InstagramScraper(ScraperAbstract):
|
|
73
73
|
|
74
74
|
def load_session(self) -> None:
|
75
75
|
if os.path.exists(self.inst_session_file):
|
76
|
+
logging.info("Loading existing session file '%s'", self.inst_session_file)
|
76
77
|
self.cl.load_settings(self.inst_session_file)
|
77
78
|
else:
|
78
79
|
self.login()
|
@@ -133,7 +134,7 @@ class InstagramScraper(ScraperAbstract):
|
|
133
134
|
except (ChallengeRequired, ChallengeSelfieCaptcha) as e:
|
134
135
|
logging.warning("Instagram wants Challange!")
|
135
136
|
logging.exception(e)
|
136
|
-
raise CaptchaIssue()
|
137
|
+
raise CaptchaIssue("a captcha issue arose")
|
137
138
|
except LoginRequired as e:
|
138
139
|
logging.error("LoginRequired occurred in download handler!")
|
139
140
|
logging.exception(e)
|
@@ -3,7 +3,7 @@ lib/systemd/system/warp_beacon.service,sha256=lPmHqLqcI2eIV7nwHS0qcALQrznixqJuww
|
|
3
3
|
var/warp_beacon/accounts.json,sha256=rKFQM_b9eoDS4mJ1B_SZNolPLXx1SQdQMdY2F_ZcBt8,1523
|
4
4
|
var/warp_beacon/placeholder.gif,sha256=cE5CGJVaop4Sx21zx6j4AyoHU0ncmvQuS2o6hJfEH88,6064
|
5
5
|
warp_beacon/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
|
-
warp_beacon/__version__.py,sha256
|
6
|
+
warp_beacon/__version__.py,sha256=-iLR2m1cWSKt_pazB1U-9oRhCt6a5WXh_q9QDD7gNoI,23
|
7
7
|
warp_beacon/warp_beacon.py,sha256=7KEtZDj-pdhtl6m-zFLsSojs1ZR4o7L0xbqtdmYPvfE,342
|
8
8
|
warp_beacon/compress/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
9
9
|
warp_beacon/compress/video.py,sha256=_PDMVYCyzLYxHv1uZmmzGcG_8rjaZr7BTXsXTTy_oS4,2846
|
@@ -17,12 +17,12 @@ warp_beacon/mediainfo/abstract.py,sha256=ZR2JMuRpoh7nDNov9a8YkAfr6BI2HXnXzQtVrLg
|
|
17
17
|
warp_beacon/mediainfo/audio.py,sha256=ous88kwQj4bDIChN5wnGil5LqTs0IQHH0d-nyrL0-ZM,651
|
18
18
|
warp_beacon/mediainfo/silencer.py,sha256=MgUc9Ibbhjhg9GbJMNfJqrdDkMsQShZkQ1sCwvW_-qI,1647
|
19
19
|
warp_beacon/mediainfo/video.py,sha256=AIRy_op_BvehsjarM1rvT5Qo0QWwf-Q6xVVd_aCnbJ4,2505
|
20
|
-
warp_beacon/scraper/__init__.py,sha256=
|
20
|
+
warp_beacon/scraper/__init__.py,sha256=tsIk4YlU8l3c4e2qI3KkjMuDpNTXBAUh0Jfp3t6GDRw,14393
|
21
21
|
warp_beacon/scraper/abstract.py,sha256=aNZ9ypF9B8BjflcIwi-7wEzIqF-XPeF0xvfX9CP_iIw,2708
|
22
|
-
warp_beacon/scraper/account_selector.py,sha256=
|
22
|
+
warp_beacon/scraper/account_selector.py,sha256=9P4Pg4BEJpklWZPZqdQkAloSdJ3geBjQN4hPB7uUNSA,2820
|
23
23
|
warp_beacon/scraper/exceptions.py,sha256=TWIMpJeDtt5lxov7XJbMNPPW6NnClFG6TgvLvdaAubE,1325
|
24
24
|
warp_beacon/scraper/instagram/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
25
|
-
warp_beacon/scraper/instagram/instagram.py,sha256=
|
25
|
+
warp_beacon/scraper/instagram/instagram.py,sha256=RRNuW8cnfqahNeQw1UM2MGghQBSCJSKL-3OwrS5qx00,13402
|
26
26
|
warp_beacon/scraper/youtube/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
27
27
|
warp_beacon/scraper/youtube/abstract.py,sha256=UX6TWEM5x4C_FZpifB8IGW9WRgrxYcctA_HMqR_XEvo,6051
|
28
28
|
warp_beacon/scraper/youtube/music.py,sha256=8TguqXc1BC9Slp09BzCU8dtQ6BnyKwzZSLLFHpqDHtg,1498
|
@@ -35,9 +35,9 @@ warp_beacon/telegram/handlers.py,sha256=MTcHZmWe8RAcZdicnqQewy_SkwujhnaoqJgWHpeb
|
|
35
35
|
warp_beacon/telegram/placeholder_message.py,sha256=u5kVfTjGmVYkwA5opniRltHXGpsdSxI41WEde8J5os0,6418
|
36
36
|
warp_beacon/telegram/utils.py,sha256=LdCU4ChJHyzpCvyG5v3XcUtUgK3v5by_v8D56VsPeI0,2171
|
37
37
|
warp_beacon/uploader/__init__.py,sha256=BQ5rli0soLf0FGqCpivVh9w6lyoGM10-ck2mUjnoOLU,4777
|
38
|
-
warp_beacon-2.1.
|
39
|
-
warp_beacon-2.1.
|
40
|
-
warp_beacon-2.1.
|
41
|
-
warp_beacon-2.1.
|
42
|
-
warp_beacon-2.1.
|
43
|
-
warp_beacon-2.1.
|
38
|
+
warp_beacon-2.1.6.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
39
|
+
warp_beacon-2.1.6.dist-info/METADATA,sha256=zDsmACO06KuehBhjotG5oztNO4PDWrg9XGoDWRCql2U,21250
|
40
|
+
warp_beacon-2.1.6.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
41
|
+
warp_beacon-2.1.6.dist-info/entry_points.txt,sha256=eSB61Rb89d56WY0O-vEIQwkn18J-4CMrJcLA_R_8h3g,119
|
42
|
+
warp_beacon-2.1.6.dist-info/top_level.txt,sha256=SIMha34qjGXaijMgtzESgQ-Cu-KbLHbmQacwue_ggTY,917
|
43
|
+
warp_beacon-2.1.6.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|