Skip to content

Commit

Permalink
Another small fix
Browse files Browse the repository at this point in the history
Stormunblessed committed Jan 24, 2022

Verified

This commit was signed with the committer’s verified signature.
chenrui333 Rui Chen
1 parent ec0958b commit dcc91bc
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@ android {
targetSdkVersion 30

versionCode 41
versionName "2.6.1"
versionName "2.6.2"

resValue "string", "app_version",
"${defaultConfig.versionName}${versionNameSuffix ?: ""}"
Original file line number Diff line number Diff line change
@@ -163,7 +163,9 @@ class CinecalidadProvider:MainAPI() {
it.value.replace("\\/", "/").replace("\"","")
}.toList()
val serversRegex = Regex("(https?:\\/\\/(www\\.)?[-a-zA-Z0-9@:%._\\+~#=]{1,256}\\.[a-zA-Z0-9()]{1,6}\\b([-a-zA-Z0-9()@:%_\\+.~#?&\\/\\/=]*))")
val links = serversRegex.findAll(videos.toString()).map { it.value }.toList()
val links = serversRegex.findAll(videos.toString()).map {
it.value
}.toList()
for (link in links) {
for (extractor in extractorApis) {
if (link.startsWith(extractor.mainUrl)) {

0 comments on commit dcc91bc

Please sign in to comment.