Skip to content

Commit dd8987d

Browse files
committed
- Added Fedora a. OpenSUSE to build script
Note, I also can not test that. Need to setup a VM, when I am home.
1 parent 95e7b30 commit dd8987d

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

README/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,4 +130,5 @@ I hope that most issues are now fixed.
130130
- API Updated to v3.2
131131
- Added function for downloading the thumbnail
132132
- Fixed an error with the metadata function
133-
- Removed file logging
133+
- Removed file logging
134+
- Recoded CLI

README/ROADMAP.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
- [x] Let the User log in with his PornHub Account to give better search results
1616
- [x] Provide a PornHub start page, like you would see on the Website and let the User download videos based on his algorithm
1717
- [x] Search filters
18+
- [x] Support Fedora in a build script
19+
- [x] Support OpenSUSE in a build script
1820
- [] Create an Android App with Qt for Android and PySide6
1921
- [] Create a Website for better overview, marketing and publicity
2022
- [] Create a Discord Bot with some functionality (proprietary)
2123
- [] Translation into other languages
2224
- [] Transfer the APP Development to Mojo, when it's publicly available
2325
- [] Create a Documentation
24-
- [] Support Fedora in a build script
25-
- [] Support OpenSUSE in a build script
2626
- [] Testing Windows 7, 8
2727
- [] Compatibility support for x32
2828

src/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,12 +330,12 @@ def account_page(self):
330330
def login(self):
331331

332332
username = input(f"{self.z}{Fore.LIGHTCYAN_EX}Please enter your username --=>:{Fore.RESET}")
333-
password = getpass.getpass(f"{self.z}{Fore.LIGHTMAGENTA_EX}Please enter your password --=>:{Fore.RESET}")
333+
password = getpass.getpass("Please enter your password --=>:")
334334

335335
try:
336336

337337
self.client = Client(language=self.api_language, delay=self.delay, username=username, password=password)
338-
logging(f"Logged in as: {self.client.account.name}")
338+
logging(f"Logged in as: {self.client.account.name}", level="0")
339339

340340
except errors.LogginFailed:
341341
logging(msg="Login failed. Please try again.", level="1")

0 commit comments

Comments
 (0)