Skip to content
This repository has been archived by the owner on Feb 22, 2025. It is now read-only.

Commit

Permalink
Merge pull request #825 from rix1337/dev
Browse files Browse the repository at this point in the history
Better logging during CAPTCHA processing
  • Loading branch information
rix1337 authored Jan 27, 2025
2 parents 956babb + 91f8369 commit 8a8e6c9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion feedcrawler/external_sites/captcha/filecrypt.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,15 @@ def get_filecrypt_links(shared_state, token, title, url, password=None):
output = session.post(url, data="cap_token=" + token, headers={'User-Agent': shared_state.values["user_agent"],
'Content-Type': 'application/x-www-form-urlencoded'})
url = output.url

if "/404.html" in url:
print("Filecrypt-Fehler 404 - aktuelle IP wurde gebannt, oder das Paket ist offline!")

soup = BeautifulSoup(output.text, 'html.parser')

solved = bool(soup.findAll("div", {"class": "container"}))
if not solved:
shared_state.logger.debug(f"Filecrypt did did not accept the token! Could not get links for {title}")
print("CAPTCHA-Token von Filecrypt abgelehnt! Neuer Token notwendig um fortzufahren...")
return False
else:
season_number = ""
Expand Down
2 changes: 1 addition & 1 deletion feedcrawler/providers/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


def get_version():
return "21.0.7"
return "21.0.8"


def create_version_file():
Expand Down
4 changes: 2 additions & 2 deletions feedcrawler/web_interface/vuejs_frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion feedcrawler/web_interface/vuejs_frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "feedcrawler-web",
"version": "21.0.7",
"version": "21.0.8",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down

0 comments on commit 8a8e6c9

Please sign in to comment.