warp-beacon 2.7.17__py3-none-any.whl → 2.7.19__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.
@@ -1,2 +1,2 @@
1
- __version__ = "2.7.17"
1
+ __version__ = "2.7.19"
2
2
 
@@ -76,7 +76,7 @@ class InstagramHuman(object):
76
76
  try:
77
77
  logging.info("Wathing story with pk '%s'", str(m.id))
78
78
  seen.append(str(m.id))
79
- if random.random() > 0.9:
79
+ if random.random() > 0.5:
80
80
  explore_user = m.user
81
81
  break
82
82
  self.random_pause()
@@ -104,7 +104,7 @@ class InstagramHuman(object):
104
104
  logging.info("Watching content with pk '%s'", str(m.id))
105
105
  seen.append(str(m.id))
106
106
  logging.info("Watched content with id '%s'", str(m.id))
107
- if random.random() > 0.9:
107
+ if random.random() > 0.4:
108
108
  explore_user = m.user
109
109
  break
110
110
  self.random_pause()
@@ -291,6 +291,13 @@ class InstagramHuman(object):
291
291
  if user_medias:
292
292
  self.random_pause(short=True)
293
293
  self.watch_content(user_medias)
294
+ if random.random() > 0.7:
295
+ self.random_pause()
296
+ logging.info("Watching '%s' followers ...", user.username)
297
+ followers_amount = random.choices([3, 5, 8, 12], weights=[0.4, 0.3, 0.2, 0.1])[0]
298
+ self.scrapler.download_hndlr(self.scrapler.cl.user_followers, user.pk, amount=followers_amount)
299
+ self.operations_count += 1
300
+ self.random_pause(short=True)
294
301
  except Exception as e:
295
302
  logging.warning("Failed to explore user profile with username '%s'", user.username, exc_info=e)
296
303
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: warp_beacon
3
- Version: 2.7.17
3
+ Version: 2.7.19
4
4
  Summary: Telegram bot for expanding external media links
5
5
  Home-page: https://github.com/sb0y/warp_beacon
6
6
  Author: Andrey Bagrintsev
@@ -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=9LvXwlPbaoBIl4ZC2lHHNwH7SiPx0wk_JJiO4Elj5yg,24
7
+ warp_beacon/__version__.py,sha256=H8OdSgHymjC21CgC_Ovrh5c7jGE0UEiUqqYsrnWJiI0,24
8
8
  warp_beacon/warp_beacon.py,sha256=ADCR30uGXIsDrt9WoiI9Ghu2QtWs0qZIK6x3pQKM_B4,1109
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=Rm1St5DFzFYd27TvwJ4-m3N_tkVR5W51Lx0JT9yowF0,11789
23
+ warp_beacon/scheduler/instagram_human.py,sha256=Y4nvIFzJ62xABTo6VbJYlXZ2_dql4uXgZtiCTErmkzY,12156
24
24
  warp_beacon/scheduler/scheduler.py,sha256=Bf4sGXjX75Dox3q-yzUHhagtzUAj3hl5GzfnZya-_io,4995
25
25
  warp_beacon/scraper/__init__.py,sha256=gQOcBvZNnlxt0Rbbrkl4PLh7eQe2y3igJbx-87hAvrA,20249
26
26
  warp_beacon/scraper/abstract.py,sha256=pWbaTu-gDZgi-iFjqMR_uGzPl5KLv-4gTdJ9w6cD4sk,3802
@@ -52,9 +52,9 @@ warp_beacon/telegram/progress_file_reader.py,sha256=e3equyNKlKs764AD-iE9QRsh3YDH
52
52
  warp_beacon/telegram/types.py,sha256=Kvdng6uCF1HRoqQgGW1ZYYPJoVuYkFb-LDvMBbW5Hjk,89
53
53
  warp_beacon/telegram/utils.py,sha256=S1N_JbHM_ExiM5tS0CeYKWIlvaJMlyq85TQNbK_GVds,5029
54
54
  warp_beacon/uploader/__init__.py,sha256=ewvR60k9osJxw_kb5U-TlZkCGR_574biq3w_aR1tjIU,5689
55
- warp_beacon-2.7.17.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
56
- warp_beacon-2.7.17.dist-info/METADATA,sha256=7YmBckgrYCXBKh7_uj6rtPGsCqdN8fqitKvYgLffp40,23215
57
- warp_beacon-2.7.17.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
58
- warp_beacon-2.7.17.dist-info/entry_points.txt,sha256=eSB61Rb89d56WY0O-vEIQwkn18J-4CMrJcLA_R_8h3g,119
59
- warp_beacon-2.7.17.dist-info/top_level.txt,sha256=5YQRN46STNg81V_3jdzZ6bftkMxhe1hTPSFvJugDu84,1405
60
- warp_beacon-2.7.17.dist-info/RECORD,,
55
+ warp_beacon-2.7.19.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
56
+ warp_beacon-2.7.19.dist-info/METADATA,sha256=woMTNkK5PalKm9gaLPimSZLBY3Ri0hmBZoEUJSanKPA,23215
57
+ warp_beacon-2.7.19.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
58
+ warp_beacon-2.7.19.dist-info/entry_points.txt,sha256=eSB61Rb89d56WY0O-vEIQwkn18J-4CMrJcLA_R_8h3g,119
59
+ warp_beacon-2.7.19.dist-info/top_level.txt,sha256=5YQRN46STNg81V_3jdzZ6bftkMxhe1hTPSFvJugDu84,1405
60
+ warp_beacon-2.7.19.dist-info/RECORD,,