pull/72/head
msramalho 2022-10-18 16:38:12 +01:00
rodzic 3f121d800e
commit 63f53358d3
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -1,4 +1,4 @@
import re, os, shutil, html
import re, os, shutil, html, traceback
import instaloader # https://instaloader.github.io/as-module.html
from loguru import logger
@ -27,7 +27,7 @@ class InstagramArchiver(Archiver):
self.insta.login(config.instagram_config.username, config.instagram_config.
password)
except Exception as e:
logger.error(f"Unable to finish login: {e}")
logger.error(f"Unable to finish login: {e}\n{traceback.format_exc()}")
def download(self, url, check_if_exists=False):
post_matches = self.post_pattern.findall(url)