diff --git a/website-extract-social-media b/website-extract-social-media index c566d62..b8b4d68 100755 --- a/website-extract-social-media +++ b/website-extract-social-media @@ -45,7 +45,7 @@ function fetch_n_extract { ) \ >( # YouTube - grep -Poi '(youtube\.com/((user|channel|embed)/)?((?!")[^/ <"'"'"'])+|youtu\.be/((?!")[^/ <"'"'"'])+)' | \ + grep -Poi '(youtube\.com/((user|channel|c|embed)/)?((?!")[^/ <"'"'"'])+|youtu\.be/((?!")[^/ <"'"'"'])+)' | \ awk '/^youtube/ { print "https://www." $0 } /^youtu\.be/ { print "https://" $0 }' | \ grep -vi -e '^https://www\.youtube\.com/vi$' ) \