We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 128e477 + 333de87 commit 4f40f5cCopy full SHA for 4f40f5c
tpb/tpb.py
@@ -351,8 +351,7 @@ def info(self):
351
@property
352
def files(self):
353
if not self._files:
354
- path = '/ajax_details_filelist.php?id={id}'.format(id=self.id)
355
- url = self.url.path(path)
+ url = self.url.path('/ajax_details_filelist.php').query_param('id', self.id)
356
request = get(str(url), headers=headers())
357
root = html.fromstring(request.text)
358
rows = root.findall('.//tr')
0 commit comments