diff --git a/pynyaata/connectors/yggtorrent.py b/pynyaata/connectors/yggtorrent.py index d0a0358..f219fe3 100644 --- a/pynyaata/connectors/yggtorrent.py +++ b/pynyaata/connectors/yggtorrent.py @@ -42,7 +42,7 @@ class YggTorrent(ConnectorCore): params = self.get_full_search_url().split('?') response = curl_content( '%s/engine/search?%s' % (self.hidden_url, params[1]), - headers={"Host": YGG_DOMAIN}, + custom_host=YGG_DOMAIN, ) else: response = curl_content(self.get_full_search_url())