Commit graph

129 commits

Author SHA1 Message Date
Benny
69c7ac5e22
update packages 2025-01-14 19:38:37 +01:00
Benny
d472cdc03c
WIP: refactor (#460)
* step1

* remove

* add pdm

* going

* going

* going

* Improved `extract_code_from_instagram_url` function

* Remove terabox download function

Due to server-side restrictions, the Terabox download function is currently does not work as intended.

* Remove unused `parse_cookie_file` function

This commit removes the `parse_cookie_file` function as it is no longer required following the removal of the Terabox download function.

* define abstract class

* basic upload done?

* db operation

* db operation

* db operation

* db operation

* db operation

* fix name_pattern regex of `extract_url_and_name` function

* pre-commit

* pre-push

* pre-push

* Refactor: Change single quotes to double quotes for name_pattern regex

* add more methods

* rename

* use self._bot_msg

* download done?

* update deps

* add entrance

* runnable

* fixes

* fix

* record usage fix

* add cookies

* fix settings

* hint

* hint

* reset

* rename

* formats fix

* update README.md

* update

* rename

* rename

---------

Co-authored-by: Sanuja Seneviratne <66342986+SanujaNS@users.noreply.github.com>
2025-01-14 19:32:19 +01:00
Sanuja Seneviratne
100b14d10a
Bump yt-dlp to 2025.1.12 (#475)
* Upgrade to CodeQL Action v3

* Bump yt-dlp to 2024.12.23

* Bump yt-dlp to 2025.1.12
2025-01-14 09:14:27 +01:00
Sanuja Seneviratne
02bd9f00ab
Bump yt-dlp to 2024.12.23 (#474)
* Upgrade to CodeQL Action v3

* Bump yt-dlp to 2024.12.23
2024-12-30 15:49:34 +01:00
dependabot[bot]
3adb096b99
Bump yt-dlp[default] from 2024.12.3 to 2024.12.13 (#469)
* Bump yt-dlp[default] from 2024.12.3 to 2024.12.13

Bumps [yt-dlp[default]](https://github.com/yt-dlp/yt-dlp) from 2024.12.3 to 2024.12.13.
- [Release notes](https://github.com/yt-dlp/yt-dlp/releases)
- [Changelog](https://github.com/yt-dlp/yt-dlp/blob/master/Changelog.md)
- [Commits](https://github.com/yt-dlp/yt-dlp/compare/2024.12.03...2024.12.13)

---
updated-dependencies:
- dependency-name: yt-dlp[default]
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* support for impersonating browser requests in yt-dlp

https://github.com/yt-dlp/yt-dlp#impersonation

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sanuja Seneviratne <66342986+SanujaNS@users.noreply.github.com>
2024-12-17 09:46:29 +01:00
dependabot[bot]
2a893857f2
Bump yt-dlp[default] from 2024.11.18 to 2024.12.3 (#465)
Bumps [yt-dlp[default]](https://github.com/yt-dlp/yt-dlp) from 2024.11.18 to 2024.12.3.
- [Release notes](https://github.com/yt-dlp/yt-dlp/releases)
- [Changelog](https://github.com/yt-dlp/yt-dlp/blob/master/Changelog.md)
- [Commits](https://github.com/yt-dlp/yt-dlp/compare/2024.11.18...2024.12.03)

---
updated-dependencies:
- dependency-name: yt-dlp[default]
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-04 20:56:13 +01:00
Sanuja Seneviratne
926c372eed
Improve extract_code_from_instagram_url function (#458)
* Improve `extract_code_from_instagram_url` function

* Bump yt-dlp from 2024.11.04 to 2024.11.18 (Tested )
2024-11-22 18:00:45 +01:00
Sanuja Seneviratne
829c62bf0e
yt-dlp's Python dependencies must be installed using the default group, beginning with 2024.11.04 release (#455)
* Bump yt-dlp from 2024.10.22 to 2024.11.04  #451

* yt-dlp's Python dependencies installing using the default group
2024-11-10 11:10:10 +01:00
Sanuja Seneviratne
ba43e79e88
Bump yt-dlp from 2024.10.22 to 2024.11.04 #451 (#453) 2024-11-04 13:37:17 +01:00
dependabot[bot]
afb2e5841f
Bump yt-dlp from 2024.10.7 to 2024.10.22 (#447)
Bumps [yt-dlp](https://github.com/yt-dlp/yt-dlp) from 2024.10.7 to 2024.10.22.
- [Release notes](https://github.com/yt-dlp/yt-dlp/releases)
- [Changelog](https://github.com/yt-dlp/yt-dlp/blob/master/Changelog.md)
- [Commits](https://github.com/yt-dlp/yt-dlp/compare/2024.10.07...2024.10.22)

---
updated-dependencies:
- dependency-name: yt-dlp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-31 09:05:44 +01:00
dependabot[bot]
fcfbf35502
Bump yt-dlp from 2024.9.27 to 2024.10.7 (#445)
Bumps [yt-dlp](https://github.com/yt-dlp/yt-dlp) from 2024.9.27 to 2024.10.7.
- [Release notes](https://github.com/yt-dlp/yt-dlp/releases)
- [Changelog](https://github.com/yt-dlp/yt-dlp/blob/master/Changelog.md)
- [Commits](https://github.com/yt-dlp/yt-dlp/compare/2024.09.27...2024.10.07)

---
updated-dependencies:
- dependency-name: yt-dlp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-11 16:18:43 +02:00
dependabot[bot]
fa88ea5ade
Bump yt-dlp from 2024.8.6 to 2024.9.27 (#438)
Bumps [yt-dlp](https://github.com/yt-dlp/yt-dlp) from 2024.8.6 to 2024.9.27.
- [Release notes](https://github.com/yt-dlp/yt-dlp/releases)
- [Changelog](https://github.com/yt-dlp/yt-dlp/blob/master/Changelog.md)
- [Commits](https://github.com/yt-dlp/yt-dlp/compare/2024.08.06...2024.09.27)

---
updated-dependencies:
- dependency-name: yt-dlp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 21:21:54 +02:00
dependabot[bot]
2c4cb0353e
Bump tqdm from 4.66.4 to 4.66.5 (#416)
Bumps [tqdm](https://github.com/tqdm/tqdm) from 4.66.4 to 4.66.5.
- [Release notes](https://github.com/tqdm/tqdm/releases)
- [Commits](https://github.com/tqdm/tqdm/compare/v4.66.4...v4.66.5)

---
updated-dependencies:
- dependency-name: tqdm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 19:26:44 +02:00
dependabot[bot]
0881eee131
Bump fakeredis from 2.23.4 to 2.24.1 (#421)
Bumps [fakeredis](https://github.com/cunla/fakeredis-py) from 2.23.4 to 2.24.1.
- [Release notes](https://github.com/cunla/fakeredis-py/releases)
- [Commits](https://github.com/cunla/fakeredis-py/compare/v2.23.4...v2.24.1)

---
updated-dependencies:
- dependency-name: fakeredis
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 19:26:35 +02:00
dependabot[bot]
f07d522ebb
Bump yt-dlp from 2024.8.1 to 2024.8.6 (#418)
Bumps [yt-dlp](https://github.com/yt-dlp/yt-dlp) from 2024.8.1 to 2024.8.6.
- [Release notes](https://github.com/yt-dlp/yt-dlp/releases)
- [Changelog](https://github.com/yt-dlp/yt-dlp/blob/master/Changelog.md)
- [Commits](https://github.com/yt-dlp/yt-dlp/compare/2024.08.01...2024.08.06)

---
updated-dependencies:
- dependency-name: yt-dlp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-06 09:07:16 +02:00
Benny
03e3010ad3
bump everything 2024-08-03 14:15:08 +02:00
Sanuja Seneviratne
9cfdf0a4ee
Bump yt-dlp from 2024.7.9 to 2024.8.1 (#415) 2024-08-03 10:15:49 +02:00
dependabot[bot]
edc8d5b9ff
Bump yt-dlp from 2024.7.7 to 2024.7.9 (#406)
Bumps [yt-dlp](https://github.com/yt-dlp/yt-dlp) from 2024.7.7 to 2024.7.9.
- [Release notes](https://github.com/yt-dlp/yt-dlp/releases)
- [Changelog](https://github.com/yt-dlp/yt-dlp/blob/master/Changelog.md)
- [Commits](https://github.com/yt-dlp/yt-dlp/compare/2024.07.07...2024.07.09)

---
updated-dependencies:
- dependency-name: yt-dlp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 08:56:54 +02:00
dependabot[bot]
4159905615
Bump yt-dlp from 2024.7.2 to 2024.7.7 (#405)
Bumps [yt-dlp](https://github.com/yt-dlp/yt-dlp) from 2024.7.2 to 2024.7.7.
- [Release notes](https://github.com/yt-dlp/yt-dlp/releases)
- [Changelog](https://github.com/yt-dlp/yt-dlp/blob/master/Changelog.md)
- [Commits](https://github.com/yt-dlp/yt-dlp/compare/2024.07.02...2024.07.07)

---
updated-dependencies:
- dependency-name: yt-dlp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-08 15:45:03 +02:00
Sanuja Seneviratne
0964958bed
Bump requests from 2.31.0 to 2.32.3 2024-07-04 16:42:32 +05:30
Sanuja Seneviratne
1490970541
Bump yt-dlp from 2024.5.27 to 2024.7.2 (#402) 2024-07-03 08:08:06 +02:00
dependabot[bot]
2e458231e9
Bump yt-dlp from 2024.04.9 to 2024.5.27 (#390)
Bumps [yt-dlp](https://github.com/yt-dlp/yt-dlp) from 2024.04.9 to 2024.5.27.
- [Release notes](https://github.com/yt-dlp/yt-dlp/releases)
- [Changelog](https://github.com/yt-dlp/yt-dlp/blob/master/Changelog.md)
- [Commits](https://github.com/yt-dlp/yt-dlp/compare/2024.04.09...2024.05.27)

---
updated-dependencies:
- dependency-name: yt-dlp
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-13 12:31:11 +02:00
dependabot[bot]
80ed7353c4
Bump redis from 5.0.3 to 5.0.4 (#375)
Bumps [redis](https://github.com/redis/redis-py) from 5.0.3 to 5.0.4.
- [Release notes](https://github.com/redis/redis-py/releases)
- [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES)
- [Commits](https://github.com/redis/redis-py/compare/v5.0.3...v5.0.4)

---
updated-dependencies:
- dependency-name: redis
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-03 18:42:55 +02:00
dependabot[bot]
b30b751dbf
Bump blinker from 1.7.0 to 1.8.1 (#377)
Bumps [blinker](https://github.com/pallets-eco/blinker) from 1.7.0 to 1.8.1.
- [Release notes](https://github.com/pallets-eco/blinker/releases)
- [Changelog](https://github.com/pallets-eco/blinker/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets-eco/blinker/compare/1.7.0...1.8.1)

---
updated-dependencies:
- dependency-name: blinker
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-03 18:42:48 +02:00
dependabot[bot]
6d5894a71b
Bump tqdm from 4.66.2 to 4.66.4 (#378)
Bumps [tqdm](https://github.com/tqdm/tqdm) from 4.66.2 to 4.66.4.
- [Release notes](https://github.com/tqdm/tqdm/releases)
- [Commits](https://github.com/tqdm/tqdm/compare/v4.66.2...v4.66.4)

---
updated-dependencies:
- dependency-name: tqdm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-03 18:42:41 +02:00
Benny
c5681d04d1
bump 2024-04-22 20:32:40 +02:00
Benny
1940f2c849
bump 2024-04-10 18:47:30 +02:00
Benny
fe628adbf9
use fork of pyrogram 2024-04-09 17:59:42 +02:00
Benny
a86e0736c7
reformat and bumps 2024-04-08 18:02:07 +02:00
Sanuja Seneviratne
0547fc69a2
Enhanced download functionality for yt-dlp unsupported links (#363)
* Improved download ability for things that yt-dlp doesn’t support out of the box

* yt-dlp bump to new release 2024.03.10

* Update README.md

* Update README.md

* Update README.md

* sp_ytdl_download: remove aria2 and clean up
2024-04-08 17:52:44 +02:00
Benny
e297ceb64d
use yt-dlp with commit hash 2024-03-01 21:45:05 +01:00
dependabot[bot]
5dbc4fbe7a
Bump tqdm from 4.66.1 to 4.66.2 (#352)
Bumps [tqdm](https://github.com/tqdm/tqdm) from 4.66.1 to 4.66.2.
- [Release notes](https://github.com/tqdm/tqdm/releases)
- [Commits](https://github.com/tqdm/tqdm/compare/v4.66.1...v4.66.2)

---
updated-dependencies:
- dependency-name: tqdm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-25 14:42:50 +01:00
dependabot[bot]
885f93f11e
Bump fakeredis from 2.21.0 to 2.21.1 (#354)
Bumps [fakeredis](https://github.com/cunla/fakeredis-py) from 2.21.0 to 2.21.1.
- [Release notes](https://github.com/cunla/fakeredis-py/releases)
- [Commits](https://github.com/cunla/fakeredis-py/compare/v2.21.0...v2.21.1)

---
updated-dependencies:
- dependency-name: fakeredis
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-25 14:42:42 +01:00
Benny
ebd17fe9d4
bumps 2024-02-09 19:01:44 +01:00
Benny
09352a1e61
deps 2024-01-09 19:37:19 +01:00
dependabot[bot]
a8c4db9ee5
Bump yt-dlp from 2023.11.16 to 2023.12.30 (#329)
Bumps [yt-dlp](https://github.com/yt-dlp/yt-dlp) from 2023.11.16 to 2023.12.30.
- [Release notes](https://github.com/yt-dlp/yt-dlp/releases)
- [Changelog](https://github.com/yt-dlp/yt-dlp/blob/master/Changelog.md)
- [Commits](https://github.com/yt-dlp/yt-dlp/compare/2023.11.16...2023.12.30)

---
updated-dependencies:
- dependency-name: yt-dlp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-01 12:49:00 +01:00
Benny
0ef589f9c0
Revert "add some debug symbols"
This reverts commit 6c37e82b3d.
2023-12-30 22:27:19 +01:00
Benny
6c37e82b3d
add some debug symbols 2023-12-30 14:58:26 +01:00
Benny
08500c744c
increase worker, separate redis for backup bot 2023-12-18 17:52:06 +01:00
Benny
f7243a4a93
let's try pyrogram 2.x again 2023-12-17 14:11:19 +01:00
Benny
d09c4a5914
add instagram as microservice 2023-12-12 18:24:21 +01:00
Benny
a09cce4856
Tron (#318)
* add tron support

* update README

* update README

* add notification
2023-12-08 18:56:57 +01:00
dependabot[bot]
1d499523aa
Bump yt-dlp from 2023.11.14 to 2023.11.16 (#310)
Bumps [yt-dlp](https://github.com/yt-dlp/yt-dlp) from 2023.11.14 to 2023.11.16.
- [Release notes](https://github.com/yt-dlp/yt-dlp/releases)
- [Changelog](https://github.com/yt-dlp/yt-dlp/blob/master/Changelog.md)
- [Commits](https://github.com/yt-dlp/yt-dlp/compare/2023.11.14...2023.11.16)

---
updated-dependencies:
- dependency-name: yt-dlp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-16 09:09:13 +01:00
Benny
6106b94705
update yt-dlp 2023-11-15 17:00:13 +01:00
Benny
1e9b058676
add id to low script 2023-10-29 11:14:33 +01:00
Benny
4962cb4f2c
bump 2023-10-20 18:11:51 +02:00
Benny
82ba992a84
rollback to pyrogram1 2023-10-09 17:45:49 +02:00
Sanuja Seneviratne
9191b4edad
Update to new yt-dlp version (yt-dlp==2023.9.24) (#297)
* option for setting custom tmpfile(download) path

* new yt-dlp version
2023-10-06 21:27:16 +02:00
Benny
32fe1a8324
upgrade yt-dlp to master version 2023-09-17 18:02:37 +02:00
Benny
d90133211c
Pyrogram2 (#291)
* upgrade to pyrogram 2.x

#288

* reformat code

* update dependencies

* remove instagram cookies

* add cryptography

* upgrade to py3.11

* temp fix
2023-09-10 14:08:11 +02:00