Просмотр исходного кода

Ignore /intent on Twitter

master
JustAnotherArchivist 4 лет назад
Родитель
Сommit
c56736bc4a
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      website-extract-social-media

+ 1
- 1
website-extract-social-media Просмотреть файл

@@ -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,?$,,'
) \
>(


Загрузка…
Отмена
Сохранить