Skip to content

Commit

Permalink
Update periscope.py
Browse files Browse the repository at this point in the history
Fix periscope url according to currently used schema.
  • Loading branch information
matiaspl committed Oct 15, 2015
1 parent 243403c commit 970dace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/livestreamer/plugins/periscope.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
STATUS_GONE = 410
STATUS_UNAVAILABLE = (STATUS_GONE,)

_url_re = re.compile(r"http(s)?://(www\.)?periscope.tv/w/(?P<token>[\w\-\=]+)")
_url_re = re.compile(r"http(s)?://(www\.)?periscope.tv/w/(?P<broadcast_id>[\w\-\=]+)")
_stream_schema = validate.Schema(
{"hls_url": validate.url(scheme="http")},
validate.get("hls_url")
Expand Down

0 comments on commit 970dace

Please sign in to comment.