Skip to content

Commit

Permalink
fixed aivarsk#40
Browse files Browse the repository at this point in the history
  • Loading branch information
A.Quasimodo committed Mar 21, 2018
1 parent 92a3cdb commit 0f8050b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrapy_proxies/randomproxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self, settings):
fin = open(self.proxy_list)
try:
for line in fin.readlines():
parts = re.match('(\w+://)([^:]+?:[^@]+?@)?(.+)', line.strip())
parts = re.match('(\w+://)([^:]+?:.+@)?(.+)', line.strip())
if not parts:
continue

Expand Down

0 comments on commit 0f8050b

Please sign in to comment.