Skip to content

[FIX] http -> https in URLs#2576

Merged
paranoidi merged 1 commit intoFlexget:developfrom
GreyKat:develop
Jan 15, 2020
Merged

[FIX] http -> https in URLs#2576
paranoidi merged 1 commit intoFlexget:developfrom
GreyKat:develop

Conversation

@GreyKat
Copy link
Copy Markdown
Contributor

@GreyKat GreyKat commented Jan 15, 2020

Motivation for changes:

Since yesterday was getting this eror in log

2020-01-14 12:55:04 CRITICAL plugin LostFilm Received not 200 (OK) status
2020-01-14 12:55:04 WARNING task LostFilm Aborting task (plugin: lostfilm)

Detailed changes:

After this modification

-        if rss.get('status') != 200:
-            raise PluginError('Received not 200 (OK) status')
+        status = rss.get('status')
+        if status != 200:
+            raise PluginError('Received %s status instead of 200 (OK)' % status)

found out that actually http code was 301.
So finally fixing URL to use https did the trick.

@paranoidi
Copy link
Copy Markdown
Member

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants