mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Fixed Evload and Uqload extractor (#676)
* fixed the extractor not working when no flags provided * updated and added some french translation
This commit is contained in:
parent
ddab37c08d
commit
01ab3085bb
3 changed files with 20 additions and 4 deletions
|
@ -26,9 +26,13 @@ open class Evoload : ExtractorApi() {
|
|||
} else {
|
||||
""
|
||||
}
|
||||
val cleaned_url = url.substring(2, url.length)
|
||||
|
||||
//println(lang)
|
||||
|
||||
val cleaned_url = if (lang == "ht") { // if url doesn't contain a flag and the url starts with http://
|
||||
url
|
||||
} else {
|
||||
url.substring(2, url.length)
|
||||
}
|
||||
//println(lang)
|
||||
//println(cleaned_url)
|
||||
|
||||
val id = cleaned_url.replace("https://evoload.io/e/", "") // wanted media id
|
||||
|
|
|
@ -25,7 +25,12 @@ open class Uqload : ExtractorApi() {
|
|||
} else {
|
||||
""
|
||||
}
|
||||
val cleaned_url = url.substring(2, url.length)
|
||||
|
||||
val cleaned_url = if (lang == "ht") { // if url doesn't contain a flag and the url starts with http://
|
||||
url
|
||||
} else {
|
||||
url.substring(2, url.length)
|
||||
}
|
||||
with(app.get(cleaned_url)) { // raised error ERROR_CODE_PARSING_CONTAINER_UNSUPPORTED (3003) is due to the response: "error_nofile"
|
||||
srcRegex.find(this.text)?.groupValues?.get(1)?.replace("\"", "")?.let { link ->
|
||||
return listOf(
|
||||
|
|
|
@ -99,6 +99,9 @@
|
|||
<string name="swipe_to_change_settings">Balayer pour changer les paramètres</string>
|
||||
<string name="swipe_to_change_settings_des">Balayer sur le coté droit ou gauche pour changer le niveau de luminosité ou de volume</string>
|
||||
<string name="double_tap_to_seek_settings">Taper deux fois pour rechercher</string>
|
||||
|
||||
<string name="double_tap_to_pause_settings">Taper deux fois pour mettre en pause</string>
|
||||
|
||||
<string name="double_tap_to_seek_settings_des">Taper deux fois sur le coté droit ou gauche pour avancer ou reculer</string>
|
||||
<string name="search">Rechercher</string>
|
||||
<string name="settings_info">Informations</string>
|
||||
|
@ -176,10 +179,14 @@
|
|||
<string name="dont_show_again">Ne pas afficher à nouveau</string>
|
||||
<string name="update">Mettre à jour</string>
|
||||
<string name="dns_pref_summary">Utile pour contourner les bloquages des FAI</string>
|
||||
|
||||
<string name="download_path_pref">Emplacement de téléchargement</string>
|
||||
|
||||
<string name="new_update_format" formatted="true">Nouvelle mise à jour trouvée !
|
||||
\n%s -> %s</string>
|
||||
<string name="filler" formatted="true">Épisode spécial</string>
|
||||
<string name="watch_quality_pref">Qualité de visionnage préférée</string>
|
||||
<string name="video_cache_settings">Taille de la mémoire cache</string>
|
||||
<string name="resize_fill">Étendre</string>
|
||||
<string name="legal_notice">Non-responsabilité</string>
|
||||
<string name="primary_color_settings">Couleur principale</string>
|
||||
|
|
Loading…
Reference in a new issue