mirror of https://github.com/rclone/rclone
Before this change, rclone would unnecessarily retry downloads when the `Link.Expire` field was unreliable but the download URL contained a valid expire query parameter. This primarily affects cases where media links are unavailable or when `no_media_link` is enabled. The `Link.Valid()` method now primarily checks the URL's expire query parameter (as Unix timestamp) and falls back to the Expire field only when URL parsing fails. This eliminates the `error no link` retry loops while maintaining backward compatibility. Signed-off-by: Youfu Zhang <zhangyoufu@gmail.com> |
||
|---|---|---|
| .. | ||
| api | ||
| helper.go | ||
| multipart.go | ||
| pikpak.go | ||
| pikpak_test.go | ||