warp-beacon 2.1.0__py3-none-any.whl → 2.1.1__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.1.0"
1
+ __version__ = "2.1.1"
2
2
 
@@ -288,8 +288,8 @@ class InstagramScraper(ScraperAbstract):
288
288
 
289
289
  def email_challenge_resolver(self, username: str) -> Optional[str]:
290
290
  logging.info("Started email challenge resolver")
291
- mail = imaplib.IMAP4_SSL(os.environ.get("MAIL_SERVER", default="imap.bagrintsev.me"))
292
- mail.login(os.environ.get("MAIL_LOGIN", default=""), os.environ.get("MAIL_PASSWORD", default="")) # email server creds
291
+ mail = imaplib.IMAP4_SSL(self.account.get("imap_server", default="imap.bagrintsev.me"))
292
+ mail.login(self.account.get("imap_login", default=""), self.account.get("imap_password", default="")) # email server creds
293
293
  mail.select("inbox")
294
294
  _, data = mail.search(None, "(UNSEEN)")
295
295
  ids = data.pop().split()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: warp_beacon
3
- Version: 2.1.0
3
+ Version: 2.1.1
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
@@ -3,7 +3,7 @@ lib/systemd/system/warp_beacon.service,sha256=lPmHqLqcI2eIV7nwHS0qcALQrznixqJuww
3
3
  var/warp_beacon/accounts.json,sha256=rKFQM_b9eoDS4mJ1B_SZNolPLXx1SQdQMdY2F_ZcBt8,1523
4
4
  var/warp_beacon/placeholder.gif,sha256=cE5CGJVaop4Sx21zx6j4AyoHU0ncmvQuS2o6hJfEH88,6064
5
5
  warp_beacon/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- warp_beacon/__version__.py,sha256=VU4ruV9BcMZdraS-VA1wk8B9lrPoExMsmOPqnbRqNdw,23
6
+ warp_beacon/__version__.py,sha256=0npkOCld8bseamcx2JJABJTYUri9sDUBFFPsagH-KOs,23
7
7
  warp_beacon/warp_beacon.py,sha256=7KEtZDj-pdhtl6m-zFLsSojs1ZR4o7L0xbqtdmYPvfE,342
8
8
  warp_beacon/compress/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  warp_beacon/compress/video.py,sha256=_PDMVYCyzLYxHv1uZmmzGcG_8rjaZr7BTXsXTTy_oS4,2846
@@ -22,7 +22,7 @@ warp_beacon/scraper/abstract.py,sha256=aNZ9ypF9B8BjflcIwi-7wEzIqF-XPeF0xvfX9CP_i
22
22
  warp_beacon/scraper/account_selector.py,sha256=SbDO7W5WUCmMDokhuSx0yfEQiu5TW9UumwScGHsaGk8,2633
23
23
  warp_beacon/scraper/exceptions.py,sha256=5A1viJm8sT_ZcI1IccAxQ9O_eYpJNHt3TmYLM0P22Q8,1238
24
24
  warp_beacon/scraper/instagram/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
25
- warp_beacon/scraper/instagram/instagram.py,sha256=DfPbm8Eef72FMKR1s7cb5w9nvmHroNZI2Y950eQ6vTY,13321
25
+ warp_beacon/scraper/instagram/instagram.py,sha256=MNfYOMYzaVG65wrtL63oQu6BTq6i_MuzjBxsoEMlFYA,13327
26
26
  warp_beacon/scraper/youtube/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
27
  warp_beacon/scraper/youtube/abstract.py,sha256=Fp_NL8Y5j5Tk9_d5QDfkCQZva7I0JC_1B26RhorMjtw,6065
28
28
  warp_beacon/scraper/youtube/music.py,sha256=8TguqXc1BC9Slp09BzCU8dtQ6BnyKwzZSLLFHpqDHtg,1498
@@ -35,9 +35,9 @@ warp_beacon/telegram/handlers.py,sha256=MTcHZmWe8RAcZdicnqQewy_SkwujhnaoqJgWHpeb
35
35
  warp_beacon/telegram/placeholder_message.py,sha256=u5kVfTjGmVYkwA5opniRltHXGpsdSxI41WEde8J5os0,6418
36
36
  warp_beacon/telegram/utils.py,sha256=LdCU4ChJHyzpCvyG5v3XcUtUgK3v5by_v8D56VsPeI0,2171
37
37
  warp_beacon/uploader/__init__.py,sha256=qODBuIvWtypQQyKl3Y0QiBXC5SipVFL4b64D91EmTyw,4764
38
- warp_beacon-2.1.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
39
- warp_beacon-2.1.0.dist-info/METADATA,sha256=4Qi56y5hptlTQyAyqngag-ViMEFAOmeNOupii3hAqLI,21250
40
- warp_beacon-2.1.0.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
41
- warp_beacon-2.1.0.dist-info/entry_points.txt,sha256=eSB61Rb89d56WY0O-vEIQwkn18J-4CMrJcLA_R_8h3g,119
42
- warp_beacon-2.1.0.dist-info/top_level.txt,sha256=SIMha34qjGXaijMgtzESgQ-Cu-KbLHbmQacwue_ggTY,917
43
- warp_beacon-2.1.0.dist-info/RECORD,,
38
+ warp_beacon-2.1.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
39
+ warp_beacon-2.1.1.dist-info/METADATA,sha256=oiDULqyo3Qu0FxBilngJEN9xvhKqHVEir6Xp7Tz7ojs,21250
40
+ warp_beacon-2.1.1.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
41
+ warp_beacon-2.1.1.dist-info/entry_points.txt,sha256=eSB61Rb89d56WY0O-vEIQwkn18J-4CMrJcLA_R_8h3g,119
42
+ warp_beacon-2.1.1.dist-info/top_level.txt,sha256=SIMha34qjGXaijMgtzESgQ-Cu-KbLHbmQacwue_ggTY,917
43
+ warp_beacon-2.1.1.dist-info/RECORD,,