Hope this fixes the crappy merge...

Conflicts:

	couchpotato/core/_base/_core/main.py
	couchpotato/core/_base/desktop/main.py
This commit is contained in:
Ruud
2012-01-14 12:12:54 +01:00
parent 9e06a6f075
commit 33602f227d
8 changed files with 83 additions and 33 deletions
+6
View File
@@ -93,6 +93,12 @@ class Plugin(object):
socket.setdefaulttimeout(timeout)
# Fill in some headers
if not headers.get('Referer'):
headers['Referer'] = urlparse(url).hostname
if not headers.get('User-Agent'):
headers['User-Agent'] = ''
host = urlparse(url).hostname
self.wait(host)