warp-beacon 2.6.97__py3-none-any.whl → 2.6.99__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 +10 -9
- {warp_beacon-2.6.97.dist-info → warp_beacon-2.6.99.dist-info}/METADATA +1 -1
- {warp_beacon-2.6.97.dist-info → warp_beacon-2.6.99.dist-info}/RECORD +8 -8
- {warp_beacon-2.6.97.dist-info → warp_beacon-2.6.99.dist-info}/WHEEL +0 -0
- {warp_beacon-2.6.97.dist-info → warp_beacon-2.6.99.dist-info}/entry_points.txt +0 -0
- {warp_beacon-2.6.97.dist-info → warp_beacon-2.6.99.dist-info}/licenses/LICENSE +0 -0
- {warp_beacon-2.6.97.dist-info → warp_beacon-2.6.99.dist-info}/top_level.txt +0 -0
warp_beacon/__version__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
__version__ = "2.6.
|
1
|
+
__version__ = "2.6.99"
|
2
2
|
|
@@ -31,7 +31,7 @@ class InstagramHuman(object):
|
|
31
31
|
if items:
|
32
32
|
for item in items:
|
33
33
|
media = item.get("media_or_ad")
|
34
|
-
logging.
|
34
|
+
logging.debug("Item content: %s", media)
|
35
35
|
if not media:
|
36
36
|
continue
|
37
37
|
media_id = media.get("id")
|
@@ -72,7 +72,7 @@ class InstagramHuman(object):
|
|
72
72
|
seen = []
|
73
73
|
for m in stories[:random.randint(1, len(stories))]:
|
74
74
|
try:
|
75
|
-
logging.info("Wathing story with pk '%s'", str(m.
|
75
|
+
logging.info("Wathing story with pk '%s'", str(m.id))
|
76
76
|
seen.append(str(m.id))
|
77
77
|
self.random_pause()
|
78
78
|
except Exception as e:
|
@@ -82,7 +82,7 @@ class InstagramHuman(object):
|
|
82
82
|
try:
|
83
83
|
self.scrapler.cl.media_seen(seen)
|
84
84
|
self.operations_count += 1
|
85
|
-
logging.info("Marked %d stories as seen", len(seen))
|
85
|
+
logging.info("Marked '%d' stories as seen", len(seen))
|
86
86
|
except Exception as e:
|
87
87
|
logging.warning("Failed to mark seen watched watch stories!", exc_info=e)
|
88
88
|
|
@@ -92,17 +92,18 @@ class InstagramHuman(object):
|
|
92
92
|
seen = []
|
93
93
|
for m in media[:random.randint(1, len(media))]:
|
94
94
|
try:
|
95
|
-
logging.info("
|
96
|
-
content = self.scrapler.cl.media_info_v1(m.pk)
|
97
|
-
seen.append(str(
|
98
|
-
logging.info("Watched content with id '%s'", str(
|
99
|
-
self.operations_count += 1
|
95
|
+
logging.info("Watching content with pk '%s'", str(m.id))
|
96
|
+
#content = self.scrapler.cl.media_info_v1(m.pk)
|
97
|
+
seen.append(str(m.id))
|
98
|
+
logging.info("Watched content with id '%s'", str(m.id))
|
99
|
+
#self.operations_count += 1
|
100
100
|
self.random_pause()
|
101
101
|
except Exception as e:
|
102
102
|
logging.warning("Exception while watching content")
|
103
103
|
logging.exception(e)
|
104
104
|
try:
|
105
|
-
self.scrapler.cl.media_seen
|
105
|
+
self.scrapler.download_hndlr(self.scrapler.cl.media_seen, seen)
|
106
|
+
self.operations_count += 1
|
106
107
|
except Exception as e:
|
107
108
|
logging.warning("Failed to mark seen watched videos!", exc_info=e)
|
108
109
|
|
@@ -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=06R9gmnphphVgFw67odA2OxKBNoEh6DoFEvZRdbUL38,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=
|
23
|
+
warp_beacon/scheduler/instagram_human.py,sha256=v0IldvGuCDxaI8NLSSTf7wZTw38l5HilwmwRb_wK-J8,11223
|
24
24
|
warp_beacon/scheduler/scheduler.py,sha256=Bf4sGXjX75Dox3q-yzUHhagtzUAj3hl5GzfnZya-_io,4995
|
25
25
|
warp_beacon/scraper/__init__.py,sha256=k3M0X_m5f7b_DbBB3Ahk62ewEYr5AkqJL0PJXf0G4mI,20140
|
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=1Lq67aRylVJzbwSyvAgjPAGjJZFATkICvAj3TJGuJiM,4635
|
54
54
|
warp_beacon/uploader/__init__.py,sha256=j3qcuKhpchseZLGzSsSiogqe6WdMbkK8d3I-ConhNRs,5687
|
55
|
-
warp_beacon-2.6.
|
56
|
-
warp_beacon-2.6.
|
57
|
-
warp_beacon-2.6.
|
58
|
-
warp_beacon-2.6.
|
59
|
-
warp_beacon-2.6.
|
60
|
-
warp_beacon-2.6.
|
55
|
+
warp_beacon-2.6.99.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
56
|
+
warp_beacon-2.6.99.dist-info/METADATA,sha256=T4RXKdNmQlSYbFGh8k4z-N1G8zhms6mL53ibEbGrivE,23215
|
57
|
+
warp_beacon-2.6.99.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
|
58
|
+
warp_beacon-2.6.99.dist-info/entry_points.txt,sha256=eSB61Rb89d56WY0O-vEIQwkn18J-4CMrJcLA_R_8h3g,119
|
59
|
+
warp_beacon-2.6.99.dist-info/top_level.txt,sha256=5YQRN46STNg81V_3jdzZ6bftkMxhe1hTPSFvJugDu84,1405
|
60
|
+
warp_beacon-2.6.99.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|