Fix Twitter image URL matching

This commit is contained in:
Les De Ridder 2016-05-05 12:23:12 +02:00
parent d8f4a2fa44
commit 8cbbf0f9f2
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ function getBetterUrl(url) {
}
function cleanExtension(url) {
var trailingStrings = ["?", ":orig"];
var trailingStrings = ["?", ":orig", ":large", ":small", ":thumb", ":medium"];
for(trailingString of trailingStrings) {
if(url.indexOf(trailingString) != -1) {