diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2020-07-20 21:33:54 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2020-07-20 21:34:23 +0200 |
commit | f60827a088145b54865b904bdcbce79b84ba67f1 (patch) | |
tree | 9192cdc1dc52c674dd913d89d476e9c223808ab5 /fetch-enclosures | |
parent | 0882cafb03dd9a5fc5ddbd9a4e0a5be2e092fca0 (diff) | |
download | soup-backup-f60827a088145b54865b904bdcbce79b84ba67f1.tar soup-backup-f60827a088145b54865b904bdcbce79b84ba67f1.zip |
Reported-by: sofia
Diffstat (limited to 'fetch-enclosures')
-rwxr-xr-x | fetch-enclosures | 2 |
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)/' } |