소스 검색

Fix decoding of links on Facebook profiles

master
JustAnotherArchivist 4 년 전
부모
커밋
236278f0b4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      social-media-extract-profile-link

+ 1
- 1
social-media-extract-profile-link 파일 보기

@@ -21,7 +21,7 @@ function fetch_n_extract {
if grep -qF '"tab_home"' <<<"${page}"
then
# Publicly accessible profile
grep -Po '"website_url":"\K[^"]+' <<<"${page}" | sed 's,\\/,/,g' | awk '!seen[$0]++'
grep -Po '"website_url":\K"[^"]+"' <<<"${page}" | python3 -c 'import json, sys'$'\n''for line in sys.stdin:'$'\n'' print(json.loads(line))' | awk '!seen[$0]++'
elif grep -qF 'id="pagelet_loggedout_sign_up"' <<< "${page}"
then
# Profile overview only


불러오는 중...
취소
저장