Revert "Fix crash"

This reverts commit 1116e8d0ad.
This commit is contained in:
Michel Roux 2023-01-21 17:59:48 +01:00
parent f6de44d3da
commit 30364b4ac4

View File

@ -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]),
custom_host=YGG_DOMAIN,
headers={"Host": YGG_DOMAIN},
)
else:
response = curl_content(self.get_full_search_url())