Merge Merge pull request #241 from vossad01/soundcloud-handle-https
Updates SoundCloud support to recognize https urls
This commit is contained in:
commit
db7ba2f56d
|
@ -167,7 +167,7 @@ class SoundcloudUser(object):
|
|||
self.commit_cache()
|
||||
|
||||
class SoundcloudFeed(object):
|
||||
URL_REGEX = re.compile('http://([a-z]+\.)?soundcloud\.com/([^/]+)$', re.I)
|
||||
URL_REGEX = re.compile('https?://([a-z]+\.)?soundcloud\.com/([^/]+)$', re.I)
|
||||
|
||||
@classmethod
|
||||
def handle_url(cls, url):
|
||||
|
@ -210,7 +210,7 @@ class SoundcloudFeed(object):
|
|||
return episodes, seen_guids
|
||||
|
||||
class SoundcloudFavFeed(SoundcloudFeed):
|
||||
URL_REGEX = re.compile('http://([a-z]+\.)?soundcloud\.com/([^/]+)/favorites', re.I)
|
||||
URL_REGEX = re.compile('https?://([a-z]+\.)?soundcloud\.com/([^/]+)/favorites', re.I)
|
||||
|
||||
|
||||
def __init__(self, username):
|
||||
|
|
Loading…
Reference in New Issue