Redirect to live stream of youtube streamers

fix https://github.com/ornicar/lila/issues/9983
pull/9985/head
kraktus 2021-10-18 13:48:48 +02:00
parent ca36d40fce
commit 80e88fbb7c
1 changed files with 2 additions and 2 deletions

View File

@ -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