Skip to content

fix(lanzou): support new password download pages - #9627

Open
okatu-loli wants to merge 1 commit into
AlistGo:mainfrom
okatu-loli:codex/fix-lanzou-download-links
Open

fix(lanzou): support new password download pages#9627
okatu-loli wants to merge 1 commit into
AlistGo:mainfrom
okatu-loli:codex/fix-lanzou-download-links

Conversation

@okatu-loli

Copy link
Copy Markdown
Collaborator

Summary

  • recognize both ajaxm.php and ajaxfile.php download endpoints, with a no-ID fallback
  • parse complete JavaScript variable values and prefer the latest non-empty declaration
  • persist share-page and anti-bot cookies per driver and send browser-equivalent AJAX headers
  • keep account cookies scoped to the management base URL

Testing

  • go test ./drivers/lanzou
  • verified link generation with password-protected APK, PDF, and RAR files
  • verified archive link generation for a real RAR file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant