Merge pull request #9985 from kraktus/yt_live
Redirect to live stream of youtube streamerspull/10013/head
commit
4eb59bd61f
|
@ -95,8 +95,8 @@ object Streamer {
|
|||
}
|
||||
|
||||
case class YouTube(channelId: String) {
|
||||
def fullUrl = s"https://www.youtube.com/channel/$channelId"
|
||||
def minUrl = s"youtube.com/channel/$channelId"
|
||||
def fullUrl = s"https://www.youtube.com/channel/$channelId/live"
|
||||
def minUrl = s"youtube.com/channel/$channelId/live"
|
||||
}
|
||||
object YouTube {
|
||||
private val ChannelIdRegex = """^([\w-]{24})$""".r
|
||||
|
|
Loading…
Reference in New Issue