warp-beacon 2.3.33__py3-none-any.whl → 2.3.35__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 +12 -6
- warp_beacon/scraper/account_selector.py +2 -2
- {warp_beacon-2.3.33.dist-info → warp_beacon-2.3.35.dist-info}/METADATA +1 -1
- {warp_beacon-2.3.33.dist-info → warp_beacon-2.3.35.dist-info}/RECORD +9 -9
- {warp_beacon-2.3.33.dist-info → warp_beacon-2.3.35.dist-info}/LICENSE +0 -0
- {warp_beacon-2.3.33.dist-info → warp_beacon-2.3.35.dist-info}/WHEEL +0 -0
- {warp_beacon-2.3.33.dist-info → warp_beacon-2.3.35.dist-info}/entry_points.txt +0 -0
- {warp_beacon-2.3.33.dist-info → warp_beacon-2.3.35.dist-info}/top_level.txt +0 -0
warp_beacon/__version__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
__version__ = "2.3.
|
1
|
+
__version__ = "2.3.35"
|
2
2
|
|
@@ -34,13 +34,14 @@ class InstagramHuman(object):
|
|
34
34
|
time.sleep(random.uniform(3, 7))
|
35
35
|
if random.random() > 0.7:
|
36
36
|
self.scrapler.download_hndlr(self.scrapler.cl.direct_active_presence)
|
37
|
+
time.sleep(random.uniform(2, 5))
|
37
38
|
if random.random() > 0.7:
|
38
39
|
self.scrapler.download_hndlr(self.scrapler.cl.notification_like_and_comment_on_photo_user_tagged, "everyone")
|
39
|
-
|
40
|
+
self.random_pause()
|
40
41
|
if random.random() > 0.5:
|
41
42
|
logging.info("Simulation updating reels tray feed ...")
|
42
43
|
self.scrapler.download_hndlr(self.scrapler.cl.get_reels_tray_feed, "pull_to_refresh")
|
43
|
-
|
44
|
+
self.random_pause()
|
44
45
|
if random.random() > 0.8:
|
45
46
|
self.profile_view()
|
46
47
|
except Exception as e:
|
@@ -51,9 +52,10 @@ class InstagramHuman(object):
|
|
51
52
|
try:
|
52
53
|
logging.info("Starting day fast check activity simulation")
|
53
54
|
self.scrapler.download_hndlr(self.scrapler.cl.get_timeline_feed, "pull_to_refresh")
|
55
|
+
time.sleep(random.uniform(2, 5))
|
54
56
|
if random.random() > 0.7:
|
55
57
|
self.scrapler.download_hndlr(self.scrapler.cl.get_reels_tray_feed, "pull_to_refresh")
|
56
|
-
|
58
|
+
self.random_pause()
|
57
59
|
except Exception as e:
|
58
60
|
logging.warning("Error in daytime_routine")
|
59
61
|
logging.exception(e)
|
@@ -67,9 +69,10 @@ class InstagramHuman(object):
|
|
67
69
|
time.sleep(random.uniform(2, 5))
|
68
70
|
if random.random() > 0.7:
|
69
71
|
self.scrapler.download_hndlr(self.scrapler.cl.direct_active_presence)
|
72
|
+
time.sleep(random.uniform(2, 5))
|
70
73
|
if random.random() > 0.7:
|
71
74
|
self.scrapler.download_hndlr(self.scrapler.cl.notification_like_and_comment_on_photo_user_tagged, "everyone")
|
72
|
-
|
75
|
+
self.random_pause()
|
73
76
|
if random.random() > 0.4:
|
74
77
|
logging.info("Watching reels ...")
|
75
78
|
self.scrapler.download_hndlr(self.scrapler.cl.reels)
|
@@ -77,7 +80,6 @@ class InstagramHuman(object):
|
|
77
80
|
if random.random() > 0.6:
|
78
81
|
logging.info("Simulation profile view ...")
|
79
82
|
self.profile_view()
|
80
|
-
self.random_pause()
|
81
83
|
except Exception as e:
|
82
84
|
logging.warning("Error in evening_routine")
|
83
85
|
logging.exception(e)
|
@@ -87,7 +89,7 @@ class InstagramHuman(object):
|
|
87
89
|
logging.info("Starting night activity simulation")
|
88
90
|
if random.random() > 0.8:
|
89
91
|
self.scrapler.download_hndlr(self.scrapler.cl.direct_active_presence)
|
90
|
-
|
92
|
+
self.random_pause(short=True)
|
91
93
|
except Exception as e:
|
92
94
|
logging.warning("Error in night_routine")
|
93
95
|
logging.exception(e)
|
@@ -115,8 +117,12 @@ class InstagramHuman(object):
|
|
115
117
|
target_user_id = self.scrapler.download_hndlr(self.scrapler.cl.user_id_from_username, random_friend)
|
116
118
|
self.scrapler.download_hndlr(self.scrapler.cl.user_info, target_user_id)
|
117
119
|
|
120
|
+
time.sleep(random.uniform(2, 5))
|
121
|
+
|
118
122
|
if random.random() > 0.7:
|
119
123
|
self.scrapler.download_hndlr(self.scrapler.cl.user_medias, target_user_id, amount=random.randint(1, 5))
|
124
|
+
|
125
|
+
self.random_pause()
|
120
126
|
except Exception as e:
|
121
127
|
logging.warning("Error in profile view")
|
122
128
|
logging.exception(e)
|
@@ -98,7 +98,7 @@ class AccountSelector(object):
|
|
98
98
|
def next(self) -> dict:
|
99
99
|
idx = self.account_index[self.current_module_name].value
|
100
100
|
idx += 1
|
101
|
-
if idx
|
101
|
+
if idx >= len(self.accounts[self.current_module_name]):
|
102
102
|
idx = 0
|
103
103
|
self.account_index[self.current_module_name].value = idx
|
104
104
|
self.current = self.accounts[self.current_module_name][idx]
|
@@ -110,7 +110,7 @@ class AccountSelector(object):
|
|
110
110
|
idx = self.account_index[self.current_module_name].value
|
111
111
|
meta_list = self.accounts_meta_data[self.current_module_name]
|
112
112
|
if idx >= len(meta_list):
|
113
|
-
logging.warning("Index %d out of range for module '%s' with length '%d'", idx, self.current_module_name, len(meta_list))
|
113
|
+
logging.warning("Index '%d' out of range for module '%s' with length '%d'", idx, self.current_module_name, len(meta_list))
|
114
114
|
return 0
|
115
115
|
self.accounts_meta_data[self.current_module_name][idx][key] += amount
|
116
116
|
return meta_list[idx][key]
|
@@ -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=aMMUgUhL5aQX3ofDb9bCR6FKVABAGztoX7mNSxiFX0E,24
|
8
8
|
warp_beacon/warp_beacon.py,sha256=7KEtZDj-pdhtl6m-zFLsSojs1ZR4o7L0xbqtdmYPvfE,342
|
9
9
|
warp_beacon/compress/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
10
|
warp_beacon/compress/video.py,sha256=_PDMVYCyzLYxHv1uZmmzGcG_8rjaZr7BTXsXTTy_oS4,2846
|
@@ -19,11 +19,11 @@ warp_beacon/mediainfo/audio.py,sha256=ous88kwQj4bDIChN5wnGil5LqTs0IQHH0d-nyrL0-Z
|
|
19
19
|
warp_beacon/mediainfo/silencer.py,sha256=qxMuViOoVwUYb60uCVvqHiGrqByR1_4_rqMT-XdMkwc,1813
|
20
20
|
warp_beacon/mediainfo/video.py,sha256=UBZrhTN5IDI-aYu6tsJEILo9nFkjHhkldGVFmvV7tEI,2480
|
21
21
|
warp_beacon/scheduler/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
22
|
-
warp_beacon/scheduler/instagram_human.py,sha256=
|
22
|
+
warp_beacon/scheduler/instagram_human.py,sha256=b_Ec775QchL88X3JEZeO3EYrQ9Cj1BjVzuIX0EmqRYg,4689
|
23
23
|
warp_beacon/scheduler/scheduler.py,sha256=2y2eDBxkE5vHRpSVcV-mwYnxFuueMalK3LOhgUecNSA,2796
|
24
24
|
warp_beacon/scraper/__init__.py,sha256=V_C5SmAmRtjFfVBtTotOHCW3ILMQ8m_ulrBF6ry59_A,16944
|
25
25
|
warp_beacon/scraper/abstract.py,sha256=28a0aBKZpi8IKptLWdB6RuVbOkrUbrhT7LSZX7QRQtg,2725
|
26
|
-
warp_beacon/scraper/account_selector.py,sha256=
|
26
|
+
warp_beacon/scraper/account_selector.py,sha256=oqwtyT2_xBYkx_7ysoz0VLa-x8EpiBifmF12MUNLCW8,5316
|
27
27
|
warp_beacon/scraper/exceptions.py,sha256=Qkz76yo-X5kucEZIP9tWaK-oYO-kvsPEl8Y0W63oDhU,1300
|
28
28
|
warp_beacon/scraper/fail_handler.py,sha256=_blvckfTZ4xWVancQKVRXH5ClKGwfrBxMwvXIFZh1qA,975
|
29
29
|
warp_beacon/scraper/link_resolver.py,sha256=Rc9ZuMyOo3iPywDHwjngy-WRQ2SXhJwxcg-5ripx7tM,2447
|
@@ -43,9 +43,9 @@ warp_beacon/telegram/handlers.py,sha256=XXIfdV_RCj7tyZMPXchuKmGoDdweOaR08ADDaBPW
|
|
43
43
|
warp_beacon/telegram/placeholder_message.py,sha256=wN9-BRiyrtHG-EvXtZkGJHt2CX71munQ57ITttjt0mw,6400
|
44
44
|
warp_beacon/telegram/utils.py,sha256=9uebX53G16mV7ER7WgfdWBLFHHw14S8HBt9URrIskg0,4440
|
45
45
|
warp_beacon/uploader/__init__.py,sha256=E9rlZIf7xlQz6MutMOwJ8S5Vm2uheR5nv23Kv8duRQg,5427
|
46
|
-
warp_beacon-2.3.
|
47
|
-
warp_beacon-2.3.
|
48
|
-
warp_beacon-2.3.
|
49
|
-
warp_beacon-2.3.
|
50
|
-
warp_beacon-2.3.
|
51
|
-
warp_beacon-2.3.
|
46
|
+
warp_beacon-2.3.35.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
47
|
+
warp_beacon-2.3.35.dist-info/METADATA,sha256=B_roTvP0JvPLYXwnZ60_yDm8l3ghTjbSvGKjEOKhjno,21723
|
48
|
+
warp_beacon-2.3.35.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
|
49
|
+
warp_beacon-2.3.35.dist-info/entry_points.txt,sha256=eSB61Rb89d56WY0O-vEIQwkn18J-4CMrJcLA_R_8h3g,119
|
50
|
+
warp_beacon-2.3.35.dist-info/top_level.txt,sha256=qGjHVVfyf6lTmbdSA-fQq0rHS1YVS4HoJT3rag5xgPE,1141
|
51
|
+
warp_beacon-2.3.35.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|