diff --git a/README.md b/README.md index 789e895..8447c47 100755 --- a/README.md +++ b/README.md @@ -114,7 +114,7 @@ poetry run senpwai ## FAQ
Why did you make this? -I couldn't afford wifi so I used my college wifi to download anime after class but batch downloading from streaming sites is a pain in the ass, +I couldn't afford wifi so I used my college wifi to batch download anime after class but batch downloading from streaming sites is a pain in the ass, you have to click billions of links just to download one episode, so I made Senpwai to help me and possibly others that face a similar problem.
@@ -137,10 +137,10 @@ More sources means more writing more code which in turn means fixing more bugs. ## Links -[Sub-reddit](https://reddit.com/r/Senpwai) - [Discord server](https://discord.com/invite/e9UxkuyDX2) +[Subreddit](https://reddit.com/r/Senpwai) + [GitHub Sponsors](https://github.com/sponsors/SenZmaKi) [Patreon](https://patreon.com/Senpwai) diff --git a/senpwai/common/classes.py b/senpwai/common/classes.py index d34e26c..50f5e99 100644 --- a/senpwai/common/classes.py +++ b/senpwai/common/classes.py @@ -146,6 +146,8 @@ def load_settings(self) -> None: if gogo_norm_or_hls_mode is not None: self.gogo_mode = gogo_norm_or_hls_mode settings.pop("gogo_norm_or_hls_mode") + if "gogo_skip_calculate" in settings: + settings.pop("gogo_skip_calculate") self.__dict__.update(settings) except json.JSONDecodeError: pass @@ -233,7 +235,6 @@ def update_tracking_interval(self, tracking_interval: int) -> None: self.tracking_interval = tracking_interval self.save_settings() - def update_pahe_home_url(self, pahe_home_url: str) -> None: self.pahe_home_url = pahe_home_url self.save_settings() diff --git a/senpwai/scrapers/pahe/main.py b/senpwai/scrapers/pahe/main.py index e4a68a5..fc9cf73 100644 --- a/senpwai/scrapers/pahe/main.py +++ b/senpwai/scrapers/pahe/main.py @@ -1,6 +1,5 @@ import re import math -from tracemalloc import start from typing import Any, Callable, NamedTuple, cast from requests import Response from bs4 import BeautifulSoup, Tag diff --git a/senpwai/windows/about.py b/senpwai/windows/about.py index 165dcf0..a2dab3c 100644 --- a/senpwai/windows/about.py +++ b/senpwai/windows/about.py @@ -18,6 +18,7 @@ OS, PATREON_ICON_PATH, REDDIT_ICON_PATH, + SEN_ANILIST_ID, SEN_ICON_PATH, VERSION, ) @@ -62,10 +63,10 @@ def __init__(self, main_window: "MainWindow"): - If Senpwai can't find the quality you want it will pick the closest lower one e.g., if you choose 720p but only 1080p and 360p is available it'll pick 360p - So long as the app is open Senpwai will try to resume⏯️ ongoing downloads even if you lose an internet connection - Experiencing slow downloads? Use gogo hls mode for the fastest🚀 download speeds -- [Hover✨](https://open.spotify.com/playlist/460b5y4LB8Dixh0XajVVaL?si=fce0f0f762464e81) over something that you don't understand there's probably a tool tip for it +- [Hover✨](https://anilist.co/user/{SEN_ANILIST_ID}) over something that you don't understand there's probably a tool tip for it - If the app screen📺 is white after you minimised it to tray and reopened it (usually on Windows🗑️), click the tray icon to fix it - Open the settings folder by clicking the button with its location in the top left corner of the settings window -- Downloading from Pahe skips⏩ recap episodes +- Downloading from Pahe skips⏩ recap episodes, but this kinds of messes up the episode numbering - To completely remove Senpwai (don't know why you would though), post-uninstallation delete the settings folder, 🫵🏿®️🅰️🤡 - To use a custom font family, edit the `font_family` value in the settings file, if left empty, it will default to your OS setting - Hate the background images📸? Check out the [discord]({DISCORD_INVITE_LINK}) for [senptheme](https://discord.com/channels/1131981618777702540/1211137093955362837/1211175899895038033) @@ -128,7 +129,7 @@ def __init__(self, main_window: "MainWindow"): donation_buttons_widget.setLayout(donation_buttons_layout) leave_a_star_label = StyledLabel() leave_a_star_label.setText( - "You can also support Senpwai by leaving a star on the github repo, stars help other weebs like us know about it" + "You can also support Senpwai by starring the github repo, stars are free and help other weebs like us know about Senpwai" ) set_minimum_size_policy(leave_a_star_label) social_links_title = Title("Social Links") @@ -151,11 +152,11 @@ def __init__(self, main_window: "MainWindow"): discord_button.setToolTip(DISCORD_INVITE_LINK) social_links_buttons_widget = QWidget() social_links_buttons_layout = QHBoxLayout() + social_links_buttons_layout.addWidget(discord_button) + social_links_buttons_layout.addSpacing(30) social_links_buttons_layout.addWidget(github_button) social_links_buttons_layout.addSpacing(30) social_links_buttons_layout.addWidget(reddit_button) - social_links_buttons_layout.addSpacing(30) - social_links_buttons_layout.addWidget(discord_button) social_links_buttons_layout.setAlignment(Qt.AlignmentFlag.AlignLeft) social_links_buttons_widget.setLayout(social_links_buttons_layout) version_title = Title(f"Version {VERSION}")