Skip to content

Commit

Permalink
Merge branch 'temp-branch-2' into tv-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Three-taile-dragon committed Oct 13, 2024
2 parents e0a30a9 + bc80cd7 commit acec3ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/123_share/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func (d *Pan123Share) Link(ctx context.Context, file model.Obj, args model.LinkA
}
u_ := u.String()
log.Debug("download url: ", u_)
res, err := base.NoRedirectClient.R().SetHeader("Referer", "https://www.123pan.com/").Get(u_)
res, err := base.NoRedirectClient.R().SetHeader("Referer", "https://www.123865.com/").Get(u_)
if err != nil {
return nil, err
}
Expand All @@ -109,7 +109,7 @@ func (d *Pan123Share) Link(ctx context.Context, file model.Obj, args model.LinkA
link.URL = utils.Json.Get(res.Body(), "data", "redirect_url").ToString()
}
link.Header = http.Header{
"Referer": []string{"https://www.123pan.com/"},
"Referer": []string{"https://www.123865.com/"},
}
return &link, nil
}
Expand Down

0 comments on commit acec3ac

Please sign in to comment.