8000 Update readability.py · AramZS/python-readability@8443a87 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8443a87

Browse files
committed
Update readability.py
1 parent 5fc2d36 commit 8443a87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readability/readability.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ def main():
607607
file = urllib.request.urlopen(request)
608608
else:
609609
import urllib2
610-
request = urllib2.request(options.url, None, headers)
610+
request = urllib2.Request(options.url, None, headers)
611611
file = urllib2.urlopen(request)
612612
else:
613613
file = open(args[0], 'rt')

0 commit comments

Comments
 (0)
0