mirror of
https://github.com/sigmasternchen/Anineko
synced 2025-03-15 03:28:57 +00:00
added playbb and easyvideo... #1
This commit is contained in:
parent
5f19a93b0d
commit
371fbf172e
1 changed files with 20 additions and 0 deletions
20
anineko
20
anineko
|
@ -124,6 +124,26 @@ elif test "$mode" = "file"; then
|
|||
fi
|
||||
echo -e "[ \033[31mfail\033[0m ]"
|
||||
|
||||
echo -n " Try to extract playbb-frame... "
|
||||
page=$(wget --user-agent="$useragent" -q -O - "${url}")
|
||||
purl=$(echo -e "${page}" | grep "playbb.me" | sed -e "s/#038;//g" | awk -F'\"' '{ print $2; }' 2> /dev/null)
|
||||
if test -n "${purl}"; then
|
||||
echo -e "[ \033[32mdone\033[0m ]"
|
||||
download `extract $purl`
|
||||
exit 0
|
||||
fi
|
||||
echo -e "[ \033[31mfail\033[0m ]"
|
||||
|
||||
echo -n " Try to extract easyvideo-frame... "
|
||||
page=$(wget --user-agent="$useragent" -q -O - "${url}")
|
||||
purl=$(echo -e "${page}" | grep "easyvideo.me" | sed -e "s/#038;//g" | awk -F'\"' '{ print $2; }' 2> /dev/null)
|
||||
if test -n "${purl}"; then
|
||||
echo -e "[ \033[32mdone\033[0m ]"
|
||||
download `extract $purl`
|
||||
exit 0
|
||||
fi
|
||||
echo -e "[ \033[31mfail\033[0m ]"
|
||||
|
||||
# Add additional providers here
|
||||
echo -e " \033[31mPermanent fail!\033[0m"
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue