We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4b3575 commit 23b26d5Copy full SHA for 23b26d5
library/src/main/java/com/yausername/youtubedl_android/YoutubeDLUpdater.kt
@@ -59,7 +59,7 @@ internal object YoutubeDLUpdater {
59
60
@Throws(IOException::class)
61
private fun checkForUpdate(appContext: Context, youtubeDLChannel: UpdateChannel): JsonNode? {
62
- val url = youtubeDLChannel.apiUrl
+ val url = URL(youtubeDLChannel.apiUrl)
63
val json = YoutubeDL.objectMapper.readTree(url)
64
val newVersion = getTag(json)
65
val oldVersion = SharedPrefsHelper[appContext, dlpVersionKey]
0 commit comments