mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-20 23:56:34 -04:00
Merge branch 'prioritize_custom_user_agent' into qa
This commit is contained in:
commit
0d3bd3c60f
@ -90,7 +90,7 @@ def is_permitted_by_robots(site, url, proxy=None):
|
||||
brozzler.ReachedLimit: if warcprox responded with 420 Reached Limit
|
||||
requests.exceptions.ProxyError: if the proxy is down
|
||||
'''
|
||||
if site.ignore_robots:
|
||||
if site.ignore_robots and not site.user_agent:
|
||||
return True
|
||||
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user