Skip to content

Commit

Permalink
Merge pull request #752 from rix1337/dev
Browse files Browse the repository at this point in the history
v.18.1.1 Bugfixes
  • Loading branch information
rix1337 committed Sep 6, 2023
2 parents 22726ff + 2117c54 commit a4a5092
Show file tree
Hide file tree
Showing 7 changed files with 3,279 additions and 3,691 deletions.
2 changes: 2 additions & 0 deletions .github/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

### Changelog FeedCrawler:

- **18.1.1** Bugfix im Abruf von Download-Links, bspw. für NK
- **18.1.1** Bugfix im Match der Ignore-Liste während der Feedsuche
- **18.1.0** Die [Desktop-GUI](https://github.com/rix1337/FeedCrawler/wiki/7.-Desktop-GUI) nutzt nun `tkinter`
- Diese Bibliothek ist in Python enthalten und muss nicht mehr separat installiert werden.
- Ab sofort ist die GUI (außer im Docker-Container) standardmäßig aktiviert.
Expand Down
2 changes: 1 addition & 1 deletion feedcrawler/external_sites/web_search/content_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ class DW:
"ddownload", "ddl")
if check_hoster(link_hoster):
link = url_hoster[0]
if by in link:
if (by and by in link) or (nk and nk in link):
demasked_link = get_redirected_url(link)
if demasked_link:
link = demasked_link
Expand Down
17 changes: 11 additions & 6 deletions feedcrawler/providers/common_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@ def __getattr__(self, attr):


def check_hoster(to_check):
to_check = to_check.replace("ddownload", "ddl")
hosters = CrawlerConfig("Hosters").get_section()
for hoster in hosters:
if hosters[hoster] == "True":
if hoster in to_check.lower() or to_check.lower() in hoster:
return True
if to_check:
to_check = to_check.replace("ddownload", "ddl")
hosters = CrawlerConfig("Hosters").get_section()
for hoster in hosters:
if hosters[hoster] == "True":
if hoster in to_check.lower() or to_check.lower() in hoster:
return True
return False


Expand Down Expand Up @@ -264,6 +265,10 @@ def check_is_ignored(title, ignore):
title = title.replace(" ", ".").lower()
ignore_list = ignore.replace(" ", ".").lower().split(",")
for i in ignore_list:
if not i.startswith("."):
i = "." + i
if not i.endswith("."):
i = i + "."
if i in title:
return True
return False
Expand Down
2 changes: 1 addition & 1 deletion feedcrawler/providers/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


def get_version():
return "18.1.0"
return "18.1.1"


def create_version_file():
Expand Down

0 comments on commit a4a5092

Please sign in to comment.