warp-beacon 2.3.38__tar.gz → 2.3.39__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.3.38/warp_beacon.egg-info → warp_beacon-2.3.39}/PKG-INFO +22 -4
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/README.md +19 -2
- warp_beacon-2.3.39/warp_beacon/__version__.py +2 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/scheduler/instagram_human.py +6 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/scheduler/scheduler.py +3 -1
- {warp_beacon-2.3.38 → warp_beacon-2.3.39/warp_beacon.egg-info}/PKG-INFO +22 -4
- warp_beacon-2.3.38/warp_beacon/__version__.py +0 -2
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/LICENSE +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/MANIFEST.in +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/assets/placeholder.gif +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/etc/.gitignore +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/etc/accounts.json +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/etc/proxies.json +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/etc/warp_beacon.conf +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/etc/warp_beacon.service +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/pyproject.toml +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/setup.cfg +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/setup.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/__init__.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/compress/__init__.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/compress/video.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/jobs/__init__.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/jobs/abstract.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/jobs/download_job.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/jobs/types.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/jobs/upload_job.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/mediainfo/__init__.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/mediainfo/abstract.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/mediainfo/audio.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/mediainfo/silencer.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/mediainfo/video.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/scheduler/__init__.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/scraper/__init__.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/scraper/abstract.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/scraper/account_selector.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/scraper/exceptions.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/scraper/fail_handler.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/scraper/instagram/__init__.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/scraper/instagram/instagram.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/scraper/link_resolver.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/scraper/youtube/__init__.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/scraper/youtube/abstract.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/scraper/youtube/music.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/scraper/youtube/shorts.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/scraper/youtube/youtube.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/storage/__init__.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/storage/mongo.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/telegram/__init__.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/telegram/bot.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/telegram/caption_shortener.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/telegram/handlers.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/telegram/placeholder_message.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/telegram/utils.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/uploader/__init__.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon/warp_beacon.py +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon.egg-info/SOURCES.txt +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon.egg-info/dependency_links.txt +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon.egg-info/entry_points.txt +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon.egg-info/requires.txt +0 -0
- {warp_beacon-2.3.38 → warp_beacon-2.3.39}/warp_beacon.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: warp_beacon
|
3
|
-
Version: 2.3.
|
3
|
+
Version: 2.3.39
|
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
|
@@ -239,8 +239,10 @@ Requires-Dist: instagrapi==2.0.0
|
|
239
239
|
Requires-Dist: bs4
|
240
240
|
Dynamic: author
|
241
241
|
Dynamic: home-page
|
242
|
+
Dynamic: license-file
|
242
243
|
|
243
244
|
# warp_beacon [](https://github.com/sb0y/warp_beacon/actions/workflows/python-publish.yml) [](https://github.com/sb0y/warp_beacon/actions/workflows/docker-image.yml) [](https://github.com/sb0y/warp_beacon/actions/workflows/build-deb.yml)
|
245
|
+
> because content should travel freely
|
244
246
|
|
245
247
|
Telegram bot for external social networks media links expanding.
|
246
248
|
Works with a links in personal messages and also with group chats.
|
@@ -253,6 +255,24 @@ Just send a media link to the chat with bot and get a video or audio reply.
|
|
253
255
|
|<img width="700" alt="Instagram Photo post usage example" src="https://github.com/user-attachments/assets/29324b94-7314-4a38-8790-3483011d355d"> Instagram Photo post usage example|<img width="700" alt="Instagram Photo Carousel usage" src="https://github.com/user-attachments/assets/2598e329-e16e-455e-91e9-a027e8994283"> Instagram Photo Carousel usage example|<img width="757" alt="Instagram Photo bulk Strories download usage example" src="https://github.com/user-attachments/assets/2c8c91ac-6ade-4d1d-a677-2b36bb40ff39"> Instagram Photo bulk Strories download usage example|
|
254
256
|
|<img width="700" alt="Instagram specific Story download usage example" src="https://github.com/user-attachments/assets/03dc70c5-6933-4122-9c7c-5f7d734d117b"> Instagram specific Story download usage example|<img width="700" alt="Group chat usage example" src="https://github.com/user-attachments/assets/649fcb1e-785b-4efd-9153-69644c6d898b"> Group chat usage example|
|
255
257
|
|
258
|
+
### **Warp Beacon manifesto**
|
259
|
+
|
260
|
+
> Once, the Internet was built as a borderless network — a space where knowledge, culture, and ideas could flow freely across the globe.
|
261
|
+
> But over time, freedom gave way to artificial walls, anti-bot shields, and region locks.
|
262
|
+
>
|
263
|
+
> **warp_beacon** is our answer to that shift.
|
264
|
+
>
|
265
|
+
> This is a tool for those who refuse to accept "access denied by geolocation" or "content unavailable in your region."
|
266
|
+
> It is a bridge over ML filters, CAPTCHAs, and man-made barriers.
|
267
|
+
>
|
268
|
+
> We don’t break the rules — we restore the original spirit of the Internet:
|
269
|
+
> 📡 **free exchange of information**,
|
270
|
+
> 🌍 **unrestricted access to global content**,
|
271
|
+
> 🤖 **tools that serve the user**, not the platform.
|
272
|
+
>
|
273
|
+
> **warp_beacon** — the freedom to deliver content where it’s needed most.
|
274
|
+
|
275
|
+
## Configuration example ##
|
256
276
|
|
257
277
|
In order to setup your own instance, you will need:
|
258
278
|
|
@@ -261,8 +281,6 @@ In order to setup your own instance, you will need:
|
|
261
281
|
|
262
282
|
All bot configuration stored in [warp_beacon.conf](https://github.com/sb0y/warp_beacon/blob/main/etc/warp_beacon.conf) file.
|
263
283
|
|
264
|
-
## Configuration example ##
|
265
|
-
|
266
284
|
```env
|
267
285
|
TG_TOKEN="you telegram token received from @BotFather"
|
268
286
|
# these 3 settings should be obtained at https://my.telegram.org/apps
|
@@ -1,4 +1,5 @@
|
|
1
1
|
# warp_beacon [](https://github.com/sb0y/warp_beacon/actions/workflows/python-publish.yml) [](https://github.com/sb0y/warp_beacon/actions/workflows/docker-image.yml) [](https://github.com/sb0y/warp_beacon/actions/workflows/build-deb.yml)
|
2
|
+
> because content should travel freely
|
2
3
|
|
3
4
|
Telegram bot for external social networks media links expanding.
|
4
5
|
Works with a links in personal messages and also with group chats.
|
@@ -11,6 +12,24 @@ Just send a media link to the chat with bot and get a video or audio reply.
|
|
11
12
|
|<img width="700" alt="Instagram Photo post usage example" src="https://github.com/user-attachments/assets/29324b94-7314-4a38-8790-3483011d355d"> Instagram Photo post usage example|<img width="700" alt="Instagram Photo Carousel usage" src="https://github.com/user-attachments/assets/2598e329-e16e-455e-91e9-a027e8994283"> Instagram Photo Carousel usage example|<img width="757" alt="Instagram Photo bulk Strories download usage example" src="https://github.com/user-attachments/assets/2c8c91ac-6ade-4d1d-a677-2b36bb40ff39"> Instagram Photo bulk Strories download usage example|
|
12
13
|
|<img width="700" alt="Instagram specific Story download usage example" src="https://github.com/user-attachments/assets/03dc70c5-6933-4122-9c7c-5f7d734d117b"> Instagram specific Story download usage example|<img width="700" alt="Group chat usage example" src="https://github.com/user-attachments/assets/649fcb1e-785b-4efd-9153-69644c6d898b"> Group chat usage example|
|
13
14
|
|
15
|
+
### **Warp Beacon manifesto**
|
16
|
+
|
17
|
+
> Once, the Internet was built as a borderless network — a space where knowledge, culture, and ideas could flow freely across the globe.
|
18
|
+
> But over time, freedom gave way to artificial walls, anti-bot shields, and region locks.
|
19
|
+
>
|
20
|
+
> **warp_beacon** is our answer to that shift.
|
21
|
+
>
|
22
|
+
> This is a tool for those who refuse to accept "access denied by geolocation" or "content unavailable in your region."
|
23
|
+
> It is a bridge over ML filters, CAPTCHAs, and man-made barriers.
|
24
|
+
>
|
25
|
+
> We don’t break the rules — we restore the original spirit of the Internet:
|
26
|
+
> 📡 **free exchange of information**,
|
27
|
+
> 🌍 **unrestricted access to global content**,
|
28
|
+
> 🤖 **tools that serve the user**, not the platform.
|
29
|
+
>
|
30
|
+
> **warp_beacon** — the freedom to deliver content where it’s needed most.
|
31
|
+
|
32
|
+
## Configuration example ##
|
14
33
|
|
15
34
|
In order to setup your own instance, you will need:
|
16
35
|
|
@@ -19,8 +38,6 @@ In order to setup your own instance, you will need:
|
|
19
38
|
|
20
39
|
All bot configuration stored in [warp_beacon.conf](https://github.com/sb0y/warp_beacon/blob/main/etc/warp_beacon.conf) file.
|
21
40
|
|
22
|
-
## Configuration example ##
|
23
|
-
|
24
41
|
```env
|
25
42
|
TG_TOKEN="you telegram token received from @BotFather"
|
26
43
|
# these 3 settings should be obtained at https://my.telegram.org/apps
|
@@ -80,6 +80,7 @@ class InstagramHuman(object):
|
|
80
80
|
if random.random() > 0.6:
|
81
81
|
logging.info("Simulation profile view ...")
|
82
82
|
self.profile_view()
|
83
|
+
self.random_pause()
|
83
84
|
except Exception as e:
|
84
85
|
logging.warning("Error in evening_routine")
|
85
86
|
logging.exception(e)
|
@@ -101,7 +102,9 @@ class InstagramHuman(object):
|
|
101
102
|
|
102
103
|
def profile_view(self) -> None:
|
103
104
|
try:
|
105
|
+
logging.info("profile_view ...")
|
104
106
|
my_user_id = self.scrapler.cl.user_id
|
107
|
+
logging.info("user_following ...")
|
105
108
|
friends = list(self.scrapler.download_hndlr(self.scrapler.cl.user_following, my_user_id, amount=random.randint(5, 50)).values())
|
106
109
|
time.sleep(random.uniform(2, 5))
|
107
110
|
if not friends:
|
@@ -111,15 +114,18 @@ class InstagramHuman(object):
|
|
111
114
|
target_user_id = ""
|
112
115
|
if isinstance(random_friend, UserShort):
|
113
116
|
target_user_id = random_friend.pk
|
117
|
+
logging.info("user_info with target_user_id = '%s' ...", target_user_id)
|
114
118
|
self.scrapler.download_hndlr(self.scrapler.cl.user_info, target_user_id)
|
115
119
|
time.sleep(random.uniform(2, 5))
|
116
120
|
elif isinstance(random_friend, str):
|
117
121
|
target_user_id = self.scrapler.download_hndlr(self.scrapler.cl.user_id_from_username, random_friend)
|
122
|
+
logging.info("user_info with target_user_id = '%s' ...", target_user_id)
|
118
123
|
self.scrapler.download_hndlr(self.scrapler.cl.user_info, target_user_id)
|
119
124
|
|
120
125
|
time.sleep(random.uniform(2, 5))
|
121
126
|
|
122
127
|
if random.random() > 0.7:
|
128
|
+
logging.info("user_medias with target_user_id = '%s' ...", target_user_id)
|
123
129
|
self.scrapler.download_hndlr(self.scrapler.cl.user_medias, target_user_id, amount=random.randint(1, 5))
|
124
130
|
|
125
131
|
self.random_pause()
|
@@ -38,6 +38,8 @@ class IGScheduler(object):
|
|
38
38
|
if os.path.exists(self.state_file):
|
39
39
|
with open(self.state_file, 'r', encoding="utf-8") as f:
|
40
40
|
self.state = json.loads(f.read())
|
41
|
+
if "remaining" in self.state:
|
42
|
+
logging.info("Next scheduler activity in '%s' seconds", self.state["remaining"])
|
41
43
|
except Exception as e:
|
42
44
|
logging.error("Failed to load Scheduler state!")
|
43
45
|
logging.exception(e)
|
@@ -89,7 +91,7 @@ class IGScheduler(object):
|
|
89
91
|
self.save_state()
|
90
92
|
|
91
93
|
if self.state["remaining"] <= 0:
|
92
|
-
self.state["remaining"] = randrange(
|
94
|
+
self.state["remaining"] = randrange(4292, 8623)
|
93
95
|
logging.info("Next scheduler activity in '%s' seconds", self.state["remaining"])
|
94
96
|
|
95
97
|
start_time = time.time()
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: warp_beacon
|
3
|
-
Version: 2.3.
|
3
|
+
Version: 2.3.39
|
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
|
@@ -239,8 +239,10 @@ Requires-Dist: instagrapi==2.0.0
|
|
239
239
|
Requires-Dist: bs4
|
240
240
|
Dynamic: author
|
241
241
|
Dynamic: home-page
|
242
|
+
Dynamic: license-file
|
242
243
|
|
243
244
|
# warp_beacon [](https://github.com/sb0y/warp_beacon/actions/workflows/python-publish.yml) [](https://github.com/sb0y/warp_beacon/actions/workflows/docker-image.yml) [](https://github.com/sb0y/warp_beacon/actions/workflows/build-deb.yml)
|
245
|
+
> because content should travel freely
|
244
246
|
|
245
247
|
Telegram bot for external social networks media links expanding.
|
246
248
|
Works with a links in personal messages and also with group chats.
|
@@ -253,6 +255,24 @@ Just send a media link to the chat with bot and get a video or audio reply.
|
|
253
255
|
|<img width="700" alt="Instagram Photo post usage example" src="https://github.com/user-attachments/assets/29324b94-7314-4a38-8790-3483011d355d"> Instagram Photo post usage example|<img width="700" alt="Instagram Photo Carousel usage" src="https://github.com/user-attachments/assets/2598e329-e16e-455e-91e9-a027e8994283"> Instagram Photo Carousel usage example|<img width="757" alt="Instagram Photo bulk Strories download usage example" src="https://github.com/user-attachments/assets/2c8c91ac-6ade-4d1d-a677-2b36bb40ff39"> Instagram Photo bulk Strories download usage example|
|
254
256
|
|<img width="700" alt="Instagram specific Story download usage example" src="https://github.com/user-attachments/assets/03dc70c5-6933-4122-9c7c-5f7d734d117b"> Instagram specific Story download usage example|<img width="700" alt="Group chat usage example" src="https://github.com/user-attachments/assets/649fcb1e-785b-4efd-9153-69644c6d898b"> Group chat usage example|
|
255
257
|
|
258
|
+
### **Warp Beacon manifesto**
|
259
|
+
|
260
|
+
> Once, the Internet was built as a borderless network — a space where knowledge, culture, and ideas could flow freely across the globe.
|
261
|
+
> But over time, freedom gave way to artificial walls, anti-bot shields, and region locks.
|
262
|
+
>
|
263
|
+
> **warp_beacon** is our answer to that shift.
|
264
|
+
>
|
265
|
+
> This is a tool for those who refuse to accept "access denied by geolocation" or "content unavailable in your region."
|
266
|
+
> It is a bridge over ML filters, CAPTCHAs, and man-made barriers.
|
267
|
+
>
|
268
|
+
> We don’t break the rules — we restore the original spirit of the Internet:
|
269
|
+
> 📡 **free exchange of information**,
|
270
|
+
> 🌍 **unrestricted access to global content**,
|
271
|
+
> 🤖 **tools that serve the user**, not the platform.
|
272
|
+
>
|
273
|
+
> **warp_beacon** — the freedom to deliver content where it’s needed most.
|
274
|
+
|
275
|
+
## Configuration example ##
|
256
276
|
|
257
277
|
In order to setup your own instance, you will need:
|
258
278
|
|
@@ -261,8 +281,6 @@ In order to setup your own instance, you will need:
|
|
261
281
|
|
262
282
|
All bot configuration stored in [warp_beacon.conf](https://github.com/sb0y/warp_beacon/blob/main/etc/warp_beacon.conf) file.
|
263
283
|
|
264
|
-
## Configuration example ##
|
265
|
-
|
266
284
|
```env
|
267
285
|
TG_TOKEN="you telegram token received from @BotFather"
|
268
286
|
# these 3 settings should be obtained at https://my.telegram.org/apps
|
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
|