warp-beacon 2.6.93__tar.gz → 2.6.95__tar.gz
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-2.6.93/warp_beacon.egg-info → warp_beacon-2.6.95}/PKG-INFO +6 -2
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/README.md +5 -1
- warp_beacon-2.6.95/assets/cc-group-black.png +0 -0
- warp_beacon-2.6.95/warp_beacon/__version__.py +2 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/scheduler/instagram_human.py +5 -5
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/scraper/instagram/instagram.py +3 -1
- {warp_beacon-2.6.93 → warp_beacon-2.6.95/warp_beacon.egg-info}/PKG-INFO +6 -2
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon.egg-info/SOURCES.txt +1 -0
- warp_beacon-2.6.93/warp_beacon/__version__.py +0 -2
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/LICENSE +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/MANIFEST.in +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/assets/placeholder.gif +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/etc/.gitignore +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/etc/accounts.json +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/etc/proxies.json +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/etc/warp_beacon.conf +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/etc/warp_beacon.service +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/pyproject.toml +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/setup.cfg +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/setup.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/__init__.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/compress/__init__.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/compress/video.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/jobs/__init__.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/jobs/abstract.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/jobs/download_job.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/jobs/types.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/jobs/upload_job.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/mediainfo/__init__.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/mediainfo/abstract.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/mediainfo/audio.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/mediainfo/silencer.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/mediainfo/video.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/scheduler/__init__.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/scheduler/scheduler.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/scraper/__init__.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/scraper/abstract.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/scraper/account_selector.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/scraper/exceptions.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/scraper/fail_handler.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/scraper/instagram/__init__.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/scraper/instagram/captcha.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/scraper/instagram/wb_instagrapi.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/scraper/link_resolver.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/scraper/utils.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/scraper/youtube/__init__.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/scraper/youtube/abstract.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/scraper/youtube/music.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/scraper/youtube/shorts.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/scraper/youtube/youtube.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/storage/__init__.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/storage/mongo.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/telegram/__init__.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/telegram/bot.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/telegram/caption_shortener.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/telegram/download_status.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/telegram/edit_message.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/telegram/handlers.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/telegram/placeholder_message.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/telegram/progress_bar.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/telegram/progress_file_reader.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/telegram/types.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/telegram/utils.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/uploader/__init__.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/warp_beacon.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon/yt_auth.py +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon.egg-info/dependency_links.txt +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon.egg-info/entry_points.txt +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon.egg-info/requires.txt +0 -0
- {warp_beacon-2.6.93 → warp_beacon-2.6.95}/warp_beacon.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: warp_beacon
|
3
|
-
Version: 2.6.
|
3
|
+
Version: 2.6.95
|
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
|
@@ -433,4 +433,8 @@ dpkg-buildpackage -us -uc -b
|
|
433
433
|
|
434
434
|
# Support Warp Beacon project
|
435
435
|
|
436
|
-
[<img src="https://
|
436
|
+
[<img src="https://opencollective.com/webpack/donate/button@2x.png?color=blue" alt="Donate" width="300px">](https://opencollective.com/warp_beacon) [<img src="https://raw.githubusercontent.com/sb0y/warp_beacon/refs/heads/main/assets/cc-group-black.png?raw=true" alt="CryptoCloud Accepted" width="250px">](https://pay.cryptocloud.plus/pos/W5BMtNQt5bJFoW2E)
|
437
|
+
|
438
|
+
<!-- [](https://opencollective.com/warp_beacon) -->
|
439
|
+
<!-- #[](https://opencollective.com/warp_beacon) -->
|
440
|
+
|
@@ -185,4 +185,8 @@ dpkg-buildpackage -us -uc -b
|
|
185
185
|
|
186
186
|
# Support Warp Beacon project
|
187
187
|
|
188
|
-
[<img src="https://
|
188
|
+
[<img src="https://opencollective.com/webpack/donate/button@2x.png?color=blue" alt="Donate" width="300px">](https://opencollective.com/warp_beacon) [<img src="https://raw.githubusercontent.com/sb0y/warp_beacon/refs/heads/main/assets/cc-group-black.png?raw=true" alt="CryptoCloud Accepted" width="250px">](https://pay.cryptocloud.plus/pos/W5BMtNQt5bJFoW2E)
|
189
|
+
|
190
|
+
<!-- [](https://opencollective.com/warp_beacon) -->
|
191
|
+
<!-- #[](https://opencollective.com/warp_beacon) -->
|
192
|
+
|
Binary file
|
@@ -25,7 +25,7 @@ class InstagramHuman(object):
|
|
25
25
|
content = self.scrapler.cl.media_info_v1(m.pk)
|
26
26
|
logging.info("Watched content with id '%s'", str(content.pk))
|
27
27
|
self.operations_count += 1
|
28
|
-
|
28
|
+
self.random_pause()
|
29
29
|
except Exception as e:
|
30
30
|
logging.warning("Exception while watching content")
|
31
31
|
logging.exception(e)
|
@@ -36,7 +36,7 @@ class InstagramHuman(object):
|
|
36
36
|
timeline_initialized = True
|
37
37
|
self.scrapler.timeline_cursor = self.scrapler.download_hndlr(self.scrapler.cl.get_timeline_feed, reason="cold_start_fetch")
|
38
38
|
logging.info("Starting to watch related reels with media_pk '%d'", last_pk)
|
39
|
-
media = self.scrapler.download_hndlr(self.scrapler.cl.reels, amount=random.randint(4,
|
39
|
+
media = self.scrapler.download_hndlr(self.scrapler.cl.reels, amount=random.randint(4, 10), last_media_pk=last_pk)
|
40
40
|
self.operations_count += 1
|
41
41
|
self.watch_content(media)
|
42
42
|
|
@@ -45,7 +45,7 @@ class InstagramHuman(object):
|
|
45
45
|
if not timeline_initialized:
|
46
46
|
self.scrapler.timeline_cursor = self.scrapler.download_hndlr(self.scrapler.cl.get_timeline_feed, reason="cold_start_fetch")
|
47
47
|
logging.info("Starting to explore reels with media_pk '%d'", last_pk)
|
48
|
-
media = self.scrapler.download_hndlr(self.scrapler.cl.explore_reels, amount=random.randint(4,
|
48
|
+
media = self.scrapler.download_hndlr(self.scrapler.cl.explore_reels, amount=random.randint(4, 10), last_media_pk=last_pk)
|
49
49
|
self.operations_count += 1
|
50
50
|
self.watch_content(media)
|
51
51
|
|
@@ -128,7 +128,7 @@ class InstagramHuman(object):
|
|
128
128
|
self.random_pause()
|
129
129
|
if random.random() > 0.4:
|
130
130
|
logging.info("Watching reels ...")
|
131
|
-
reels = self.scrapler.download_hndlr(self.scrapler.cl.reels, amount=random.randint(4,
|
131
|
+
reels = self.scrapler.download_hndlr(self.scrapler.cl.reels, amount=random.randint(4, 10))
|
132
132
|
self.operations_count += 1
|
133
133
|
self.watch_content(reels)
|
134
134
|
self.random_pause()
|
@@ -167,7 +167,7 @@ class InstagramHuman(object):
|
|
167
167
|
logging.info("profile_view ...")
|
168
168
|
my_user_id = self.scrapler.cl.user_id
|
169
169
|
logging.info("user_following ...")
|
170
|
-
friends = list(self.scrapler.download_hndlr(self.scrapler.cl.user_following, my_user_id, amount=random.randint(5,
|
170
|
+
friends = list(self.scrapler.download_hndlr(self.scrapler.cl.user_following, my_user_id, amount=random.randint(5, 15)).values())
|
171
171
|
self.operations_count += 1
|
172
172
|
time.sleep(random.uniform(2, 5))
|
173
173
|
if not friends:
|
@@ -211,7 +211,9 @@ class InstagramScraper(ScraperAbstract):
|
|
211
211
|
relogin_success = False
|
212
212
|
if self.cl.relogin_attempt == 0:
|
213
213
|
try:
|
214
|
-
relogin_success = self.cl.relogin
|
214
|
+
relogin_success = self.cl.login(self.account["login"], self.account["password"], relogin=True)
|
215
|
+
if relogin_success:
|
216
|
+
self.safe_write_session()
|
215
217
|
except Exception as exc:
|
216
218
|
logging.warning("Relogin failed!", exc_info=exc)
|
217
219
|
if not relogin_success:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: warp_beacon
|
3
|
-
Version: 2.6.
|
3
|
+
Version: 2.6.95
|
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
|
@@ -433,4 +433,8 @@ dpkg-buildpackage -us -uc -b
|
|
433
433
|
|
434
434
|
# Support Warp Beacon project
|
435
435
|
|
436
|
-
[<img src="https://
|
436
|
+
[<img src="https://opencollective.com/webpack/donate/button@2x.png?color=blue" alt="Donate" width="300px">](https://opencollective.com/warp_beacon) [<img src="https://raw.githubusercontent.com/sb0y/warp_beacon/refs/heads/main/assets/cc-group-black.png?raw=true" alt="CryptoCloud Accepted" width="250px">](https://pay.cryptocloud.plus/pos/W5BMtNQt5bJFoW2E)
|
437
|
+
|
438
|
+
<!-- [](https://opencollective.com/warp_beacon) -->
|
439
|
+
<!-- #[](https://opencollective.com/warp_beacon) -->
|
440
|
+
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|