Skip to content

Commit

Permalink
REFACTOR PART 1
Browse files Browse the repository at this point in the history
fix #1585
fix #1587
close #1542
close #1537
close #1536
close #1521
close #1529

Signed-off-by: anasty17 <[email protected]>
  • Loading branch information
anasty17 committed Nov 6, 2023
1 parent b536c3a commit d890cb3
Show file tree
Hide file tree
Showing 90 changed files with 8,845 additions and 6,295 deletions.
22 changes: 10 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ In each single file there is a major change from base code, it's almost totally
### TG Upload/Download

- Leech support
- Splitting
- Thumbnail for each user
- Split size for each user or task
- Thumbnail for each user or task
- Leech filename prefix for each user. Stolen from [Juned KH](https://github.com/junedkh)
- Set upload as document or as media for each user
- 4GB file upload with premium account
Expand Down Expand Up @@ -265,7 +265,7 @@ Fill up rest of the fields. Meaning of each field is discussed below. **NOTE**:
- `AS_DOCUMENT`: Default type of Telegram file upload. Default is `False` mean as media. `Bool`
- `EQUAL_SPLITS`: Split files larger than **LEECH_SPLIT_SIZE** into equal parts size (Not working with zip cmd). Default is `False`. `Bool`
- `MEDIA_GROUP`: View Uploaded splitted file parts in media group. Default is `False`. `Bool`.
- `USER_LEECH`: Upload/Download by user session. Default is `False`. `Bool`
- `USER_TRANSMISSION`: Upload/Download by user session. Default is `False`. `Bool`
- `LEECH_FILENAME_PREFIX`: Add custom word to leeched file name. `Str`
- `LEECH_DUMP_CHAT`: Chat ID or USERNAME to where files would be uploaded. `Int`|`Str`. **NOTE**: Only available for superGroup/channel. Add `-100` before channel/superGroup id. In short don't add bot or account id!

Expand Down Expand Up @@ -685,6 +685,12 @@ Where host is the name of extractor (eg. instagram, Twitch). Multiple accounts o

-----

>
## All Thanks To Our Contributors
<a href="https://github.com/anasty17/mirror-leech-telegram-bot/graphs/contributors">
<img src="https://contrib.rocks/image?repo=anasty17/mirror-leech-telegram-bot" />
</a>

## Donations

<p> If you feel like showing your appreciation for this project, then how about buying me a coffee.</p>
Expand Down Expand Up @@ -721,12 +727,4 @@ ETH Address:
0xf798a8a1c72d593e16d8f3bb619ebd1a093c7309
```

-----

>
### All Thanks To Our Contributors
<a href="https://github.com/anasty17/mirror-leech-telegram-bot/graphs/contributors">
<img src="https://contrib.rocks/image?repo=anasty17/mirror-leech-telegram-bot" />
</a>

-----
-----
2 changes: 1 addition & 1 deletion aria.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
tracker_list=$(curl -Ns https://ngosang.github.io/trackerslist/trackers_all_http.txt | awk '$0' | tr '\n\n' ',')
aria2c --allow-overwrite=true --auto-file-renaming=true --bt-enable-lpd=true --bt-detach-seed-only=true \
--bt-remove-unselected-file=true --bt-tracker="[$tracker_list]" --bt-max-peers=0 --enable-rpc=true \
--rpc-max-request-size=1024M --max-connection-per-server=10 --max-concurrent-downloads=10 --split=10 \
--rpc-max-request-size=1024M --max-connection-per-server=10 --max-concurrent-downloads=1000 --split=10 \
--seed-ratio=0 --check-integrity=true --continue=true --daemon=true --disk-cache=40M --force-save=true \
--min-split-size=10M --follow-torrent=mem --check-certificate=false --optimize-concurrent-downloads=true \
--http-accept-gzip=true --max-file-not-found=0 --max-tries=20 --peer-id-prefix=-qB4520- --reuse-uri=true \
Expand Down
Loading

0 comments on commit d890cb3

Please sign in to comment.