diff --git a/twoot.py b/twoot.py index 0fe6404..0ea13ba 100755 --- a/twoot.py +++ b/twoot.py @@ -201,6 +201,7 @@ Only used by `get_timeline()`. :return: List of tweets from the thread """ def _get_rest_of_thread(session, headers, url): + logging.debug("Downloading tweets in thread from separate page") # Download page with thread try: thread_page = session.get(url, headers=headers, timeout=HTTPS_REQ_TIMEOUT) @@ -678,6 +679,7 @@ def process_attachments(nitter_url, attachments_container, status_id, author_acc vid_class = attachments_container.find('div', class_='video-container') if vid_class is not None: if TOML['options']['upload_videos']: + logging.debug("downloading video from twitter") import youtube_dl video_path = f"{author_account}/status/{status_id}"