Pārlūkot izejas kodu

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

master
JustAnotherArchivist pirms 4 gadiem
vecāks
revīzija
4f34753788
1 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. +3
    -2
      website-extract-social-media

+ 3
- 2
website-extract-social-media Parādīt failu

@@ -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


Notiek ielāde…
Atcelt
Saglabāt