Skip to content

Commit

Permalink
test pixeldrain changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Official-Husko committed Jun 30, 2024
1 parent 96fe5ed commit 20224b3
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 16 deletions.
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
Site | API | API Key Required | Max File Size
--- | --- | --- | ---
[Gofile][7] | [Yes][8] | No | ∞
[Pixeldrain][1] | [Yes][2] | No | 20 GB
[Pixeldrain][1] | [Yes][2] | [Yes][5] | 20 GB
[BowFile][17] | [Yes][18] | [Yes][19] | 5 GB
[Doodrive][36] | [Yes][37] | [Yes][38] | 5 GB
[Download.gg][102] | No | No | 25 GB
Expand All @@ -40,7 +40,7 @@ Site | API | API Key Required | Max File Size
[Files.dp.ua][108] | No | No | 100 GB
[Files.fm][45] | No | No | 5 GB
[Krakenfiles][124] | No | No | 1 GB
[Transfer_sh.sh][98] | No | No | ∞
[Transfer.sh][98] | No | No | ∞
[/tmp/files][117] | [Yes][118] | No | 100 MB
[Mixdrop][29] | [Yes][30] | [Yes][30] | ∞
[1Fichier][31] | [Yes][32] | No | 300 GB
Expand Down Expand Up @@ -69,13 +69,6 @@ Site | API | API Key Required | Max File Size

<br />

### Planned Sites:
Site | API | API Key Required | Max File Size
--- | --- | --- | ---
None Currently :)

<br />

### Rejected Sites:
<details>

Expand Down Expand Up @@ -169,6 +162,7 @@ None Currently :)
[2]: https://pixeldrain.com/api
[3]: https://github.com/Official-Husko/mul-tor#rejected-sites
[4]: https://github.com/Official-Husko/mul-tor/issues
[5]: https://pixeldrain.com/user/api_keys
[7]: https://gofile.io/
[8]: https://gofile.io/api
[9]: https://oshi.at/
Expand Down
10 changes: 5 additions & 5 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
###
# Things in this part are meant for debugging and toggling certaint things.
use_test_file = True
test_small_file = False
test_large_file = True
test_small_file = True
test_large_file = False
test_very_large_file = False
SKIP_SITE_CHECK = True
#
Expand Down Expand Up @@ -128,11 +128,11 @@ def selection(config, available, user_agents_list, proxy_list=""):

if DEBUG == True and use_test_file == True:
if test_small_file == True:
files_list = [f"{owd}\\test.png"]
files_list = [f"{os.path.join(owd, 'test.png')}"]
elif test_large_file == True:
files_list = [f"{owd}\\big_game.zip"]
files_list = [f"{os.path.join(owd, 'big_game.7z')}"]
elif test_very_large_file == True:
files_list = [f"{owd}\\very_big_game.7z"]
files_list = [f"{os.path.join(owd, 'very_big_game.7z')}"]
else:
print(colored("Something fucked up! Please report this on github. Test_File_Error", "red"))

Expand Down
5 changes: 4 additions & 1 deletion modules/config_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from .pretty_print import *
from .logger import Logger

current_config_version = "1.4.0"
current_config_version = "1.5.0"

class Config_Manager:

Expand Down Expand Up @@ -65,6 +65,9 @@ def Writer():
"Rapidgator": {
"email": "",
"password": ""
},
"Pixeldrain": {
"ApiKey": "",
}
},
"blacklist": ["SomeSiteName", "CheapGoFileCopy", "HotSinglesInYourArea"]
Expand Down
2 changes: 1 addition & 1 deletion modules/site_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"server_url": "https://api.gofile.io/getServer"
},
"Pixeldrain": {
"apiKey": False,
"apiKey": True,
"url": "https://pixeldrain.com/api/file/{file_name}",
"api_url": "https://pixeldrain.com/api/",
"download_url_base": "https://pixeldrain.com/u/",
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ six==1.16.0
termcolor==2.3.0
urllib3==2.2.2
wcwidth==0.2.8
setuptools==70.1.1

0 comments on commit 20224b3

Please sign in to comment.