Opened on 03/17/16 at 03:15:48
Closed on 03/17/16 at 05:53:15
#2656 closed defect (fixed)
RSB urlib user agent is blocked by some sites, change to something else.
Reported by: | Chris Johns | Owned by: | Chris Johns |
---|---|---|---|
Priority: | high | Milestone: | 4.11 |
Component: | unspecified | Version: | 4.11 |
Severity: | major | Keywords: | RSB |
Cc: | Blocked By: | ||
Blocking: |
Description
The libjpeg does not accept the user agent urlib and urllib2 uses. It is silly because it can worked around by submitting a false user agent string.
The work around requires switching to urlib2 in python2.
Change History (4)
comment:1 Changed on 03/17/16 at 03:20:13 by Amar Takhar
comment:2 Changed on 03/17/16 at 04:22:42 by Chris Johns
So adding a user-agent for http://www.ijg.org/files/jpegsrc.v9a.tar.gz stops the 403 error but is now breaks download from Source Forge.
comment:3 Changed on 03/17/16 at 04:52:58 by Chris Johns
Using Wget/1.16.3 (freebsd10.1)
worked. Silly really when you think about it.
comment:4 Changed on 03/17/16 at 05:53:15 by Chris Johns <chrisj@…>
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Try
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0
Which is Firefox 43 on Windows.