Skip to content

Commit

Permalink
Merge pull request #601 from monkeyphysics/veetle-fix-shorturls
Browse files Browse the repository at this point in the history
Plugin veetle: fix streams for shorturls.
  • Loading branch information
chrippa committed Nov 15, 2014
2 parents 94a27e8 + ba2172a commit f7da1e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/livestreamer/plugins/veetle.py
Expand Up @@ -32,6 +32,8 @@ def _get_streams(self):
parsed = urlparse(self.url)
if parsed.fragment:
channel_id = parsed.fragment
elif parsed.path[:3] == '/v/':
channel_id = parsed.path.split('/')[-1]
else:
channel_id = match.group("channel")

Expand Down

0 comments on commit f7da1e7

Please sign in to comment.