replace 'text.extract()' with 'text.extr()' where possible
This commit is contained in:
@@ -47,7 +47,7 @@ class LightroomGalleryExtractor(Extractor):
|
||||
url = "https://lightroom.adobe.com/shares/" + self.href
|
||||
response = self.request(url)
|
||||
album = json.loads(
|
||||
text.extract(response.text, "albumAttributes: ", "\n")[0]
|
||||
text.extr(response.text, "albumAttributes: ", "\n")
|
||||
)
|
||||
|
||||
images = self.images(album)
|
||||
|
||||
Reference in New Issue
Block a user