浏览代码

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

master
JustAnotherArchivist 4 年前
父节点
当前提交
4f34753788
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. +3
    -2
      website-extract-social-media

+ 3
- 2
website-extract-social-media 查看文件

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


正在加载...
取消
保存