warp-beacon 2.4.2__py3-none-any.whl → 2.4.4__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/scheduler/scheduler.py +1 -1
- warp_beacon/scraper/youtube/abstract.py +2 -2
- {warp_beacon-2.4.2.dist-info → warp_beacon-2.4.4.dist-info}/METADATA +1 -1
- {warp_beacon-2.4.2.dist-info → warp_beacon-2.4.4.dist-info}/RECORD +9 -9
- {warp_beacon-2.4.2.dist-info → warp_beacon-2.4.4.dist-info}/WHEEL +0 -0
- {warp_beacon-2.4.2.dist-info → warp_beacon-2.4.4.dist-info}/entry_points.txt +0 -0
- {warp_beacon-2.4.2.dist-info → warp_beacon-2.4.4.dist-info}/licenses/LICENSE +0 -0
- {warp_beacon-2.4.2.dist-info → warp_beacon-2.4.4.dist-info}/top_level.txt +0 -0
warp_beacon/__version__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
__version__ = "2.4.
|
1
|
+
__version__ = "2.4.4"
|
2
2
|
|
@@ -138,7 +138,7 @@ class IGScheduler(object):
|
|
138
138
|
self.save_state()
|
139
139
|
|
140
140
|
if ig_sched <= 0:
|
141
|
-
self.state["remaining"] = randrange(
|
141
|
+
self.state["remaining"] = randrange(9292, 26200)
|
142
142
|
logging.info("Next scheduler activity in '%s' seconds", ig_sched)
|
143
143
|
|
144
144
|
if yt_expires <= time.time() + 60:
|
@@ -44,11 +44,11 @@ class YoutubeAbstract(ScraperAbstract):
|
|
44
44
|
if os.path.exists(yt_sess_file):
|
45
45
|
account_index = int(f.split('_')[-1].rstrip('.json'))
|
46
46
|
logging.info("Validating YT session #%d ...", account_index)
|
47
|
-
yt_sess_data = {}, 0
|
47
|
+
yt_sess_data, exp = {}, 0
|
48
48
|
with open(yt_sess_file, 'r', encoding="utf-8") as f:
|
49
49
|
yt_sess_data = json.loads(f.read())
|
50
50
|
exp = int(yt_sess_data.get("expires", 0))
|
51
|
-
if exp <= time.time():
|
51
|
+
if exp <= time.time() + 60:
|
52
52
|
yt_auth = YtAuth(account_index=account_index)
|
53
53
|
requests_data = yt_auth.refresh_token(refresh_token=yt_sess_data.get("refresh_token", ""))
|
54
54
|
if requests_data:
|
@@ -4,7 +4,7 @@ var/warp_beacon/accounts.json,sha256=OsXdncs6h88xrF_AP6_WDCK1waGBn9SR-uYdIeK37GM
|
|
4
4
|
var/warp_beacon/placeholder.gif,sha256=cE5CGJVaop4Sx21zx6j4AyoHU0ncmvQuS2o6hJfEH88,6064
|
5
5
|
var/warp_beacon/proxies.json,sha256=VnjlQDXumOEq72ZFjbh6IqHS1TEHqn8HPYAZqWCeSIA,95
|
6
6
|
warp_beacon/__init__.py,sha256=_rThNODmz0nDp_n4mWo_HKaNFE5jk1_7cRhHyYaencI,163
|
7
|
-
warp_beacon/__version__.py,sha256=
|
7
|
+
warp_beacon/__version__.py,sha256=LtKdK_bzHxGxmq1-joTNgXzDWz9SGOSDwJPoQrY4B8o,23
|
8
8
|
warp_beacon/warp_beacon.py,sha256=7KEtZDj-pdhtl6m-zFLsSojs1ZR4o7L0xbqtdmYPvfE,342
|
9
9
|
warp_beacon/yt_auth.py,sha256=GUTKqYr_tzDC-07Lx_ahWXSag8EyLxXBUnQbDBIkEmk,6022
|
10
10
|
warp_beacon/compress/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -21,7 +21,7 @@ warp_beacon/mediainfo/silencer.py,sha256=qxMuViOoVwUYb60uCVvqHiGrqByR1_4_rqMT-Xd
|
|
21
21
|
warp_beacon/mediainfo/video.py,sha256=UBZrhTN5IDI-aYu6tsJEILo9nFkjHhkldGVFmvV7tEI,2480
|
22
22
|
warp_beacon/scheduler/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
23
23
|
warp_beacon/scheduler/instagram_human.py,sha256=8d_CQQi4vy1ESitZxQemogGfRR3d2GaV0MIozWC_cRA,5182
|
24
|
-
warp_beacon/scheduler/scheduler.py,sha256=
|
24
|
+
warp_beacon/scheduler/scheduler.py,sha256=MoPdPKiMNqVD19N-8yDc0wkTlwghFeQV3STBipAgbeQ,4602
|
25
25
|
warp_beacon/scraper/__init__.py,sha256=FAwHXz4R3AIW5hSd4_Uc5QeKxHXXNU7tBL-gA6fXozM,18162
|
26
26
|
warp_beacon/scraper/abstract.py,sha256=jbD-cJO9W6zQNGPql67YB-fqPyIrMp44FqXpi6NCArE,2784
|
27
27
|
warp_beacon/scraper/account_selector.py,sha256=1ftgBKyaW_JiC6KX6wPfid3YWk8hRctfOTROrH1OnJ8,6943
|
@@ -31,7 +31,7 @@ warp_beacon/scraper/link_resolver.py,sha256=Rc9ZuMyOo3iPywDHwjngy-WRQ2SXhJwxcg-5
|
|
31
31
|
warp_beacon/scraper/instagram/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
32
32
|
warp_beacon/scraper/instagram/instagram.py,sha256=jXqPp4odAh1D_oFW6YwvOypYd5frJnSaJ-08VFGfPUY,14058
|
33
33
|
warp_beacon/scraper/youtube/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
34
|
-
warp_beacon/scraper/youtube/abstract.py,sha256=
|
34
|
+
warp_beacon/scraper/youtube/abstract.py,sha256=ZBDqgM5FWRKRZEg5FnAZ3r4wEe125sbCS9H1Rqp-CA8,11507
|
35
35
|
warp_beacon/scraper/youtube/music.py,sha256=-R6Iys8IpglH5UL7F640UQ3ieYHitvGXA0A2GhSemVA,2927
|
36
36
|
warp_beacon/scraper/youtube/shorts.py,sha256=sPrOjhcLlV0m5a-j4mSFsF6CkNapeUdGZqoWAYheiCM,1894
|
37
37
|
warp_beacon/scraper/youtube/youtube.py,sha256=B1NBz6vv0-zIuf3MDmT2QB7eX2qO8k9orj7-4wU6MBk,2839
|
@@ -44,9 +44,9 @@ warp_beacon/telegram/handlers.py,sha256=uvR6TPHSqdSxigp3wR-ewiE6t3TvVcbVLVcYGwkg
|
|
44
44
|
warp_beacon/telegram/placeholder_message.py,sha256=wN9-BRiyrtHG-EvXtZkGJHt2CX71munQ57ITttjt0mw,6400
|
45
45
|
warp_beacon/telegram/utils.py,sha256=9uebX53G16mV7ER7WgfdWBLFHHw14S8HBt9URrIskg0,4440
|
46
46
|
warp_beacon/uploader/__init__.py,sha256=e75mOcC0vrUVjrTNMQzVUTgXGdGo4J6n8t5doOnYG5I,5616
|
47
|
-
warp_beacon-2.4.
|
48
|
-
warp_beacon-2.4.
|
49
|
-
warp_beacon-2.4.
|
50
|
-
warp_beacon-2.4.
|
51
|
-
warp_beacon-2.4.
|
52
|
-
warp_beacon-2.4.
|
47
|
+
warp_beacon-2.4.4.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
48
|
+
warp_beacon-2.4.4.dist-info/METADATA,sha256=HlRALkqbySPQU3ct8vXeRzJl4c3Uf3Vyld8E7hWoz4A,22625
|
49
|
+
warp_beacon-2.4.4.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
50
|
+
warp_beacon-2.4.4.dist-info/entry_points.txt,sha256=eSB61Rb89d56WY0O-vEIQwkn18J-4CMrJcLA_R_8h3g,119
|
51
|
+
warp_beacon-2.4.4.dist-info/top_level.txt,sha256=4ML0-mXsezLtRXyxQUntL_ktc5HX9npTeQWzvV8kFvA,1161
|
52
|
+
warp_beacon-2.4.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|