This commit is contained in:
parent
198af3c631
commit
1116e8d0ad
@ -42,7 +42,7 @@ class YggTorrent(ConnectorCore):
|
|||||||
params = self.get_full_search_url().split('?')
|
params = self.get_full_search_url().split('?')
|
||||||
response = curl_content(
|
response = curl_content(
|
||||||
'%s/engine/search?%s' % (self.hidden_url, params[1]),
|
'%s/engine/search?%s' % (self.hidden_url, params[1]),
|
||||||
headers={"Host": YGG_DOMAIN},
|
custom_host=YGG_DOMAIN,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
response = curl_content(self.get_full_search_url())
|
response = curl_content(self.get_full_search_url())
|
||||||
|
Reference in New Issue
Block a user