summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfetch-enclosures2
1 files changed, 1 insertions, 1 deletions
diff --git a/fetch-enclosures b/fetch-enclosures
index 42d5084..37b98fb 100755
--- a/fetch-enclosures
+++ b/fetch-enclosures
@@ -36,7 +36,7 @@ extract-images () {
grep -A 1 '<div class="imagecontainer"' | sed -n -r '/<img / {s#^.*src="([^"]+)".*$#\1#;p}'
}
extract-videos () {
- grep -A 1 '<div class="embed"' | sed -n -r '/<video / {s#^.*src="(http://asset-.\.soupcdn\.com/[^"]+)".*$#\1#;p}' | grep '^http://asset-.\.soupcdn\.com/'
+ grep -A 1 '<div class="embed"' | sed -n -r '/<video / {s#^.*src="(https?://(asset-.\.soupcdn\.com|asset\.soup\.io)/[^"]+)".*$#\1#;p}' | grep -E '^https?://(asset-.\.soupcdn\.com|asset\.soup\.io)/'
}