Browse Source

now we have to mimic a real life user agent to bypass cloudflare; thanks cr

master
c? 7 months ago
parent
commit
9ca485b351
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      simulcaster.sh

+ 1
- 1
simulcaster.sh View File

@@ -231,7 +231,7 @@ function simulcaster_crunchyroll() {
fatal 183 "crunchyroll: unsupported input mode: $SIMULCASTER_CRUNCHYROLL_INPUT"
fi
#rm *.mp4 *.ass
"$SIMULCASTER_CRUNCHYROLL_BINARY" --write-sub --sub-lang=$SIMULCASTER_CRUNCHYROLL_SUB_LANG --sub-format=ass --format=best --cookies="$SIMULCASTER_CRUNCHYROLL_AUTH" "$SIMULCASTER_CRUNCHYROLL_URL"
"$SIMULCASTER_CRUNCHYROLL_BINARY" --user-agent="Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.94 Safari/537.36" --write-sub --sub-lang=$SIMULCASTER_CRUNCHYROLL_SUB_LANG --sub-format=ass --format=best --cookies="$SIMULCASTER_CRUNCHYROLL_AUTH" "$SIMULCASTER_CRUNCHYROLL_URL"
SIMULCASTER_REMUX_INPUT_SOURCE="crunchyroll"
}


Loading…
Cancel
Save