Skip to content

Commit

Permalink
Reduce cookie expiration time to 120 min
Browse files Browse the repository at this point in the history
  • Loading branch information
KevCui committed Mar 30, 2022
1 parent 7709f85 commit aa4df4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion animepahe-dl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ get() {
}

get_cookie() {
if [[ "$(is_file_expired "$_COOKIE_FILE" "10080")" == "yes" ]]; then
if [[ "$(is_file_expired "$_COOKIE_FILE" "120")" == "yes" ]]; then
local cookie
print_info "Wait a few seconds for fetching cookie..."
cookie="$($_GET_COOKIE_JS "$_CHROME" "$_HOST" "$_USER_AGENT" 2>/dev/null)"
Expand Down

0 comments on commit aa4df4d

Please sign in to comment.