Fix parsing video links

Fix alert on macOS
This commit is contained in:
Arkadiusz Fal
2022-08-13 16:16:02 +02:00
parent 2c81808125
commit 2086c6f679
2 changed files with 8 additions and 3 deletions

View File

@@ -4,6 +4,7 @@ final class URLParserTests: XCTestCase {
private static let videos: [String: String] = [
"https://www.youtube.com/watch?v=_E0PWQvW-14&list=WL&index=4&t=155s": "_E0PWQvW-14",
"https://youtu.be/IRsc57nK8mg?t=20": "IRsc57nK8mg",
"yattee://youtu.be/oCtYBqcN7QE": "oCtYBqcN7QE",
"https://www.youtube-nocookie.com/watch?index=4&v=cE1PSQrWc11&list=WL&t=155s": "cE1PSQrWc11",
"https://invidious.snopyta.org/watch?v=XpowfENlJAw": "XpowfENlJAw",
"/watch?v=VQ_f5RymW70": "VQ_f5RymW70",