warp-beacon 2.6.29__py3-none-any.whl → 2.6.30__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/instagram_human.py +20 -2
- {warp_beacon-2.6.29.dist-info → warp_beacon-2.6.30.dist-info}/METADATA +1 -1
- {warp_beacon-2.6.29.dist-info → warp_beacon-2.6.30.dist-info}/RECORD +8 -8
- {warp_beacon-2.6.29.dist-info → warp_beacon-2.6.30.dist-info}/WHEEL +0 -0
- {warp_beacon-2.6.29.dist-info → warp_beacon-2.6.30.dist-info}/entry_points.txt +0 -0
- {warp_beacon-2.6.29.dist-info → warp_beacon-2.6.30.dist-info}/licenses/LICENSE +0 -0
- {warp_beacon-2.6.29.dist-info → warp_beacon-2.6.30.dist-info}/top_level.txt +0 -0
warp_beacon/__version__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
__version__ = "2.6.
|
1
|
+
__version__ = "2.6.30"
|
2
2
|
|
@@ -29,14 +29,19 @@ class InstagramHuman(object):
|
|
29
29
|
logging.exception(e)
|
30
30
|
|
31
31
|
def scroll_content(self, last_pk: int) -> None:
|
32
|
+
timeline_initialized = False
|
32
33
|
if random.random() > 0.7:
|
34
|
+
timeline_initialized = True
|
35
|
+
self.scrapler.timeline_cursor = self.scrapler.download_hndlr(self.scrapler.cl.get_timeline_feed, reason="cold_start_fetch")
|
33
36
|
logging.info("Starting to watch related reels with media_pk '%d'", last_pk)
|
34
37
|
media = self.scrapler.download_hndlr(self.scrapler.cl.reels, amount=random.randint(4, 10), last_media_pk=last_pk)
|
35
38
|
self.operations_count += 1
|
36
39
|
self.watch_content(media)
|
37
40
|
|
38
|
-
if random.random() >
|
41
|
+
if random.random() > 0.9:
|
39
42
|
time.sleep(random.uniform(2, 20))
|
43
|
+
if not timeline_initialized:
|
44
|
+
self.scrapler.timeline_cursor = self.scrapler.download_hndlr(self.scrapler.cl.get_timeline_feed, reason="cold_start_fetch")
|
40
45
|
logging.info("Starting to explore reels with media_pk '%d'", last_pk)
|
41
46
|
media = self.scrapler.download_hndlr(self.scrapler.cl.explore_reels, amount=random.randint(4, 10), last_media_pk=last_pk)
|
42
47
|
self.operations_count += 1
|
@@ -91,6 +96,12 @@ class InstagramHuman(object):
|
|
91
96
|
self.scrapler.download_hndlr(self.scrapler.cl.get_reels_tray_feed, "pull_to_refresh")
|
92
97
|
self.operations_count += 1
|
93
98
|
self.random_pause()
|
99
|
+
if random.random() > 0.4:
|
100
|
+
logging.info("Watching reels ...")
|
101
|
+
reels = self.scrapler.download_hndlr(self.scrapler.cl.reels)
|
102
|
+
self.operations_count += 1
|
103
|
+
self.watch_content(reels)
|
104
|
+
self.random_pause()
|
94
105
|
except Exception as e:
|
95
106
|
logging.warning("Error in daytime_routine")
|
96
107
|
logging.exception(e)
|
@@ -115,8 +126,9 @@ class InstagramHuman(object):
|
|
115
126
|
self.random_pause()
|
116
127
|
if random.random() > 0.4:
|
117
128
|
logging.info("Watching reels ...")
|
118
|
-
self.scrapler.download_hndlr(self.scrapler.cl.reels)
|
129
|
+
reels = self.scrapler.download_hndlr(self.scrapler.cl.reels)
|
119
130
|
self.operations_count += 1
|
131
|
+
self.watch_content(reels)
|
120
132
|
self.random_pause()
|
121
133
|
if random.random() > 0.6:
|
122
134
|
logging.info("Simulation profile view ...")
|
@@ -133,6 +145,12 @@ class InstagramHuman(object):
|
|
133
145
|
self.scrapler.download_hndlr(self.scrapler.cl.direct_active_presence)
|
134
146
|
self.operations_count += 1
|
135
147
|
self.random_pause(short=True)
|
148
|
+
if random.random() > 0.8:
|
149
|
+
logging.info("Watching reels ...")
|
150
|
+
reels = self.scrapler.download_hndlr(self.scrapler.cl.reels)
|
151
|
+
self.operations_count += 1
|
152
|
+
self.watch_content(reels)
|
153
|
+
self.random_pause()
|
136
154
|
except Exception as e:
|
137
155
|
logging.warning("Error in night_routine")
|
138
156
|
logging.exception(e)
|
@@ -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=yCKxCedMyzaTcY9NqSuFdir8Dv2DNBx4688hqBuQ0_w,24
|
8
8
|
warp_beacon/warp_beacon.py,sha256=ED43vNzdjDUJ_9qLCbri0bjWLWEJ69BENGj9i7G6AvM,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
|
@@ -20,7 +20,7 @@ warp_beacon/mediainfo/audio.py,sha256=ous88kwQj4bDIChN5wnGil5LqTs0IQHH0d-nyrL0-Z
|
|
20
20
|
warp_beacon/mediainfo/silencer.py,sha256=qxMuViOoVwUYb60uCVvqHiGrqByR1_4_rqMT-XdMkwc,1813
|
21
21
|
warp_beacon/mediainfo/video.py,sha256=UBZrhTN5IDI-aYu6tsJEILo9nFkjHhkldGVFmvV7tEI,2480
|
22
22
|
warp_beacon/scheduler/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
23
|
-
warp_beacon/scheduler/instagram_human.py,sha256
|
23
|
+
warp_beacon/scheduler/instagram_human.py,sha256=0LaRUu0MBBuEOQeFzuq22HIYfJL9pTK_7udsXfef0Fk,8204
|
24
24
|
warp_beacon/scheduler/scheduler.py,sha256=9OCh7Ta4wY_aTHGAOOZmaKXg56Ftx1N_aV1g6E3ZLKA,4941
|
25
25
|
warp_beacon/scraper/__init__.py,sha256=y6_26l18Bdrms9jeW1mJipmj6lKCpPQNZlieoXFnqLc,19822
|
26
26
|
warp_beacon/scraper/abstract.py,sha256=yP76ae9U73LYW2lDN6XWkXDkWX1h2UVOrkqv0Sqpu2Y,2985
|
@@ -45,9 +45,9 @@ warp_beacon/telegram/handlers.py,sha256=uvR6TPHSqdSxigp3wR-ewiE6t3TvVcbVLVcYGwkg
|
|
45
45
|
warp_beacon/telegram/placeholder_message.py,sha256=wN9-BRiyrtHG-EvXtZkGJHt2CX71munQ57ITttjt0mw,6400
|
46
46
|
warp_beacon/telegram/utils.py,sha256=1Lq67aRylVJzbwSyvAgjPAGjJZFATkICvAj3TJGuJiM,4635
|
47
47
|
warp_beacon/uploader/__init__.py,sha256=j3qcuKhpchseZLGzSsSiogqe6WdMbkK8d3I-ConhNRs,5687
|
48
|
-
warp_beacon-2.6.
|
49
|
-
warp_beacon-2.6.
|
50
|
-
warp_beacon-2.6.
|
51
|
-
warp_beacon-2.6.
|
52
|
-
warp_beacon-2.6.
|
53
|
-
warp_beacon-2.6.
|
48
|
+
warp_beacon-2.6.30.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
49
|
+
warp_beacon-2.6.30.dist-info/METADATA,sha256=K_-epPxs8KF8boapzR12FUyHm_I2HIddWfLHNcWlj0E,22706
|
50
|
+
warp_beacon-2.6.30.dist-info/WHEEL,sha256=wXxTzcEDnjrTwFYjLPcsW_7_XihufBwmpiBeiXNBGEA,91
|
51
|
+
warp_beacon-2.6.30.dist-info/entry_points.txt,sha256=eSB61Rb89d56WY0O-vEIQwkn18J-4CMrJcLA_R_8h3g,119
|
52
|
+
warp_beacon-2.6.30.dist-info/top_level.txt,sha256=4ML0-mXsezLtRXyxQUntL_ktc5HX9npTeQWzvV8kFvA,1161
|
53
|
+
warp_beacon-2.6.30.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|