Selaa lähdekoodia

Ignore /intent on Twitter

master
JustAnotherArchivist 4 vuotta sitten
vanhempi
commit
c56736bc4a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      website-extract-social-media

+ 1
- 1
website-extract-social-media Näytä tiedosto

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


Ladataan…
Peruuta
Tallenna