Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: persicope: support https://www.periscope.tv/username/broadcastID #1070

Open
Joshfindit opened this issue Sep 21, 2015 · 1 comment

Comments

@Joshfindit
Copy link

Periscope has expanded their web viewer to allow for limited browsing, and have also shifted away from having the token in the URL.

Example 1: https://www.periscope.tv/cheersfelicia/1yNxaoapngvGj
Example 2: https://www.periscope.tv/w/1yNxaoapngvGj

(Note: these were found by going to the publicly accessible couch mode. If there's any indication that the linked broadcast is not meant to be public, the links can be removed)

@ghost
Copy link

ghost commented Dec 6, 2015

If you want support for such URLs, you probably have to modify your Periscope plugin.

-_url_re = re.compile(r"http(s)?://(www\.)?periscope.tv/w/(?P<token>[\w\-\=]+)")
+_url_re = re.compile(r"http(s)?://(www\.)?periscope.tv/[^/]+/(?P<broadcast_id>[\w\-\=]+)")
https://www.periscope.tv/w/1zqJVweRblDxB

https://www.periscope.tv/TeletonCR/1zqJVweRblDxB

https://www.periscope.tv/w/aTMMOjFBbWp6eVdkd1lLZXd8MXpxSlZ3ZVJibER4QrDIbstJY6AFEhxwhCqG4xlJxe1IuILRDVrrWxLE5Jnn
livestreamer "https://www.periscope.tv/w/1zqJVweRblDxB" best
[cli][info] Found matching plugin periscope for URL https://www.periscope.tv/w/1zqJVweRblDxB
[plugin.periscope][info] Live Stream ended, using replay instead
[cli][info] Available streams: replay (worst, best)
[cli][info] Opening stream: replay (hls)
livestreamer "https://www.periscope.tv/TeletonCR/1zqJVweRblDxB" best
[cli][info] Found matching plugin periscope for URL https://www.periscope.tv/TeletonCR/1zqJVweRblDxB
[plugin.periscope][info] Live Stream ended, using replay instead
[cli][info] Available streams: replay (worst, best)
[cli][info] Opening stream: replay (hls)
livestreamer "https://www.periscope.tv/w/aTMMOjFBbWp6eVdkd1lLZXd8MXpxSlZ3ZVJibER4QrDIbstJY6AFEhxwhCqG4xlJxe1IuILRDVrrWxLE5Jnn" best
[cli][info] Found matching plugin periscope for URL https://www.periscope.tv/w/aTMMOjFBbWp6eVdkd1lLZXd8MXpxSlZ3ZVJibER4QrDIbstJY6AFEhxwhCqG4xlJxe1IuILRDVrrWxLE5Jnn
[plugin.periscope][info] Live Stream ended, using replay instead
[cli][info] Available streams: replay (worst, best)
[cli][info] Opening stream: replay (hls)

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 a pull request may close this issue.

1 participant