Use https for lyrics.wikia.com, when supported
@@ -55,6 +55,7 @@ except ImportError:
from beets import plugins
from beets import ui
+from beets import util
import beets
DIV_RE = re.compile(r'<(/?)div>?', re.I)
@@ -406,6 +407,9 @@ class Genius(Backend):
class LyricsWiki(SymbolsReplaced):
"""Fetch lyrics from LyricsWiki."""
+ if util.SNI_SUPPORTED:
+ URL_PATTERN = 'https://lyrics.wikia.com/%s:%s'
+ else:
URL_PATTERN = 'http://lyrics.wikia.com/%s:%s'
def fetch(self, artist, title):
