Ticket #3538 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

User agent for wget (Upload from URL)

Reported by: tmb Owned by:
Priority: Customer Report Milestone: EPrints 3.2.x (general bugs/features for 3.2)
Component: - Version:
Severity: normal Keywords:
Cc:

Description

Some journals are filtering on user agent eg. AGU:

wget  http://www.agu.org/journals/jd/jd0912/2008JD011697/2008JD011697.pdf -> 403 forbidden

wget -U 'Mozilla/5.0'  http://www.agu.org/journals/jd/jd0912/2008JD011697/2008JD011697.pdf -> 200 OK

Would be useful to use a user agent string in the wget invocation.

Attachments

wget.pl Download (129 bytes) - added by tmb 5 years ago.

Change History

Changed 5 years ago by tmb

Changed 5 years ago by tmb

Drop attached wget.pl into cfg.d to redefine wget invocation with -U switch.

Changed 5 years ago by tdb01r

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from EPrints 3.1.4 to EPrints 3.2

Resolved in r4592. Won't backport to 3.1 because this won't be changed in upgrades anyway.

Note: See TracTickets for help on using tickets.