Redirect to live stream of youtube streamers
fix https://github.com/ornicar/lila/issues/9983pull/9985/head
parent
ca36d40fce
commit
80e88fbb7c
|
@ -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