Browse Source

Support hashtags

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

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

@@ -29,7 +29,7 @@ function fetch_n_extract {
) \
>(
# Twitter
grep -Poi 'twitter\.com/[^/ <"'"'"']+' | \
grep -Poi 'twitter\.com/(hashtag/)?[^/ <"'"'"']+' | \
sed 's,^,https://,' | \
grep -vi -e '^https://twitter\.com/home\?' -e '^https://twitter\.com/widgets\.js$' -e '^https://twitter\.com/share\?' | \
sed 's,\([?&]\)ref_src=[^&]\+&\?,\1,; s,?$,,'


Loading…
Cancel
Save