Browse Source

Add support for Facebook /pages/category/Category/Name-ID URLs

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

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

@@ -10,7 +10,7 @@ function fetch_n_extract {
tee \
>(
# Facebook
grep -Poi 'facebook\.com/((pages|people)/((?!&quot;)[^/ <"'"'"'])+/|groups/|pg/)?((?!&quot;)[^/ <"'"'"'])+' | \
grep -Poi 'facebook\.com/((pages(/category)?|people)/((?!&quot;)[^/ <"'"'"'])+/|groups/|pg/)?((?!&quot;)[^/ <"'"'"'])+' | \
sed 's,^,https://www.,' | \
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)?)?(\?|$)'


Loading…
Cancel
Save