Article.collectMediaInfo: fuck whoever invented schema-less urls
This commit is contained in:
parent
a2f248a238
commit
7eb2fd6fd8
@ -107,6 +107,11 @@ public class Article implements Parcelable {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
flavorImageUri = flavorImage.attr("src");
|
flavorImageUri = flavorImage.attr("src");
|
||||||
|
|
||||||
|
if (flavorImageUri != null && flavorImageUri.startsWith("//")) {
|
||||||
|
flavorImageUri = "https:" + flavorImageUri;
|
||||||
|
}
|
||||||
|
|
||||||
flavorStreamUri = null;
|
flavorStreamUri = null;
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user