diff --git a/src/shared/services/source_health.py b/src/shared/services/source_health.py index b07b5a0..ed1242c 100644 --- a/src/shared/services/source_health.py +++ b/src/shared/services/source_health.py @@ -21,7 +21,7 @@ USER_AGENT_BROWSER = ( "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 " "(KHTML, like Gecko) Chrome/120.0 Safari/537.36" ) -REMOVEPAYWALLS_PREFIX = "https://www.removepaywalls.com/search?url=" +REMOVEPAYWALLS_PREFIX = "https://www.removepaywall.com/search?url=" # HTTP-Codes, die einen Retry mit anderem UA rechtfertigen RETRY_ON_STATUS = {403, 406, 429} @@ -124,7 +124,7 @@ async def _check_source_reachability( Phase 18: pro Quelle eine fetch_strategy ('default' | 'googlebot' | 'paywall' | 'skip'). Bei 'default' wird im Fehlerfall (403/406/429) ein Retry mit Googlebot-UA gemacht. - Bei 'paywall' wird auf removepaywalls.com umgeleitet. + Bei 'paywall' wird auf removepaywall.com umgeleitet. Bei 'skip' wird kein Check ausgeführt. """ checks = []