Private GIT

Skip to content
Snippets Groups Projects
Commit 43d50701 authored by Thomas Drake's avatar Thomas Drake Committed by miigotu
Browse files

Update speedcd.py

parent 4917f39c
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,7 @@
from __future__ import print_function, unicode_literals
import re
import string
from requests.compat import urljoin
from requests.utils import dict_from_cookiejar
......@@ -129,7 +130,7 @@ class SpeedCDProvider(TorrentProvider): # pylint: disable=too-many-instance-att
logger.log("Search string: {0}".format
(search_string.decode("utf-8")), logger.DEBUG)
search_params['search'] = search_string
search_params['search'] = search_string.translate(None, string.punctuation)
data = self.get_url(self.urls['search'], params=search_params, returns='text')
if not data:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment