Kaynağa Gözat

Add support for Instagram posts and ignore spurious links from the CDN

master
JustAnotherArchivist 4 yıl önce
ebeveyn
işleme
4f34753788
1 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. +3
    -2
      website-extract-social-media

+ 3
- 2
website-extract-social-media Dosyayı Görüntüle

@@ -19,8 +19,9 @@ function fetch_n_extract {
) \
>(
# Instagram
grep -Poi 'instagram\.com/[^/ <"'"'"']+' | \
sed 's,^,https://www.,'
grep -Poi 'instagram\.com/(p/)?[^/ <"'"'"']+' | \
sed 's,^,https://www.,' | \
grep -Pvi -e '^https://www\.instagram\.com/v?p$'
) \
>(
# Telegram


Yükleniyor…
İptal
Kaydet