warp-beacon 2.3.32__py3-none-any.whl → 2.3.33__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.3.32"
1
+ __version__ = "2.3.33"
2
2
 
@@ -89,7 +89,7 @@ class IGScheduler(object):
89
89
  self.save_state()
90
90
 
91
91
  if self.state["remaining"] <= 0:
92
- self.state["remaining"] = randrange(8400, 26200)
92
+ self.state["remaining"] = randrange(4100, 22300)
93
93
  logging.info("Next scheduler activity in '%s' seconds", self.state["remaining"])
94
94
 
95
95
  start_time = time.time()
@@ -56,12 +56,12 @@ class AccountSelector(object):
56
56
  if len(matched_proxy) > 1:
57
57
  random.seed(random.seed(time.time_ns() ^ int.from_bytes(os.urandom(len(matched_proxy)), "big")))
58
58
  # ensure new proxy in case if previous account required captcha
59
- last_proxy = self.accounts.get("last_proxy", None)
59
+ last_proxy = self.accounts_meta_data.get("last_proxy", None)
60
60
  if last_proxy and last_proxy in matched_proxy:
61
61
  matched_proxy.remove(last_proxy)
62
62
  prox_choice = random.choice(matched_proxy)
63
63
  # saving chosen proxy for history
64
- self.accounts["last_proxy"] = prox_choice
64
+ self.accounts_meta_data["last_proxy"] = prox_choice
65
65
  logging.info("Chosen proxy: '%s'", prox_choice)
66
66
  return prox_choice
67
67
  except Exception as e:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: warp_beacon
3
- Version: 2.3.32
3
+ Version: 2.3.33
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=TmzvPiiRzO7WaFqgS-HlMj8zsmWY25iUmd_agVFhxoo,24
7
+ warp_beacon/__version__.py,sha256=WAgFhMhZGBLKDYqTRfciJPsMCU1ZjYeOKqmTRtjDVLI,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
@@ -20,10 +20,10 @@ warp_beacon/mediainfo/silencer.py,sha256=qxMuViOoVwUYb60uCVvqHiGrqByR1_4_rqMT-Xd
20
20
  warp_beacon/mediainfo/video.py,sha256=UBZrhTN5IDI-aYu6tsJEILo9nFkjHhkldGVFmvV7tEI,2480
21
21
  warp_beacon/scheduler/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
22
  warp_beacon/scheduler/instagram_human.py,sha256=pTYH6RHWSXcLN3lW2XW33rZvfzEDbhIofGAZLNy34Vk,4536
23
- warp_beacon/scheduler/scheduler.py,sha256=WFfV5flS4xtqNjalM95KW4jLMJ70PskRpP9e7cUQM2U,2796
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=dMy-2e7dOQfPDky7uS-CABNctxjk8pJUpHBb_DkcZBk,5293
26
+ warp_beacon/scraper/account_selector.py,sha256=D_L9zwmRmvGBBEg5uUU3DmLwXnKnADwF16-QGXvlrjc,5313
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.32.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
47
- warp_beacon-2.3.32.dist-info/METADATA,sha256=wPSUnvtAq7R-FhOJ1e_myE7zdaBD1iLZ8N5Wq-7DfwY,21723
48
- warp_beacon-2.3.32.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
49
- warp_beacon-2.3.32.dist-info/entry_points.txt,sha256=eSB61Rb89d56WY0O-vEIQwkn18J-4CMrJcLA_R_8h3g,119
50
- warp_beacon-2.3.32.dist-info/top_level.txt,sha256=qGjHVVfyf6lTmbdSA-fQq0rHS1YVS4HoJT3rag5xgPE,1141
51
- warp_beacon-2.3.32.dist-info/RECORD,,
46
+ warp_beacon-2.3.33.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
47
+ warp_beacon-2.3.33.dist-info/METADATA,sha256=A68uP9xrdhTEoCYMdYFWlYVTCJqJvJll1d0XfpXA40Y,21723
48
+ warp_beacon-2.3.33.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
49
+ warp_beacon-2.3.33.dist-info/entry_points.txt,sha256=eSB61Rb89d56WY0O-vEIQwkn18J-4CMrJcLA_R_8h3g,119
50
+ warp_beacon-2.3.33.dist-info/top_level.txt,sha256=qGjHVVfyf6lTmbdSA-fQq0rHS1YVS4HoJT3rag5xgPE,1141
51
+ warp_beacon-2.3.33.dist-info/RECORD,,