Skip to content
This repository has been archived by the owner on Jun 2, 2020. It is now read-only.

Fix issue #37 #51

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions discogs_client/fetchers.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ def __init__(self, base_path):

def fetch(self, client, method, url, data=None, headers=None, json=True):
url = url.replace(client._base_url, '')
url = url.replace('?', '_') # this fixes Issue 37

if json:
base_name = ''.join((url[1:], '.json'))
Expand Down