Browse Source

Ignore more useless Facebook links

master
JustAnotherArchivist 4 years ago
parent
commit
2be9ca922e
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      website-extract-social-media

+ 2
- 2
website-extract-social-media View File

@@ -9,8 +9,8 @@ function fetch_n_extract {
# Facebook
grep -Poi 'facebook\.com/(pages/[^/ <"'"'"']+/|groups/|pg/)?[^/ <"'"'"']+' | \
sed 's,^,https://www.,' | \
grep -vi -e '^https://www\.facebook\.com/2008$' -e '^https://www\.facebook\.com/tr\?' -e '^https://www\.facebook\.com/plugins$' | \
grep -Pvi '^https://www\.facebook\.com/sharer(\.php\?|\?|$)'
grep -vi -e '^https://www\.facebook\.com/2008$' -e '^https://www\.facebook\.com/tr\?' -e '^https://www\.facebook\.com/plugins$' -e '^https://www\.facebook\.com/l\.php\?' | \
grep -Pvi '^https://www\.facebook\.com/share(r(\.php)?)?(\?|$)'
) \
>(
# Flickr


Loading…
Cancel
Save