From 3e21376fe64ca08f92a9e8599f32e38b6983386a Mon Sep 17 00:00:00 2001 From: josdion Date: Tue, 31 Mar 2020 19:29:51 +0300 Subject: [PATCH] subsunacs - improve finding uploader user name --- libs/subliminal_patch/providers/subsunacs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/subliminal_patch/providers/subsunacs.py b/libs/subliminal_patch/providers/subsunacs.py index 9728e4c78..87c97c486 100644 --- a/libs/subliminal_patch/providers/subsunacs.py +++ b/libs/subliminal_patch/providers/subsunacs.py @@ -145,7 +145,7 @@ class SubsUnacsProvider(Provider): element = a_element_wrapper.find('a', {'class': 'tooltip'}) if element: link = element.get('href') - element = row.find('a', href = re.compile(r'.*/search\.php\?t=1\&memid=.*')) + element = row.find('a', href = re.compile(r'.*/search\.php\?t=1\&(memid|u)=.*')) uploader = element.get_text() if element else None logger.info('Found subtitle link %r', link) sub = self.download_archive_and_add_subtitle_files('https://subsunacs.net' + link, language, video)