diff --git a/twoot.py b/twoot.py index 7507852..af5a378 100755 --- a/twoot.py +++ b/twoot.py @@ -653,12 +653,12 @@ def process_attachments(nitter_url, attachments_container, status_id, author_acc logging.debug("downloading video from twitter") import youtube_dl - video_path = vid_container.video['data-url'] + video_path = vid_container.source['src'] if video_path is not None: video_file = urljoin(nitter_url, video_path) ydl_opts = { 'outtmpl': "output/" + TOML['config']['twitter_account'] + "/" + status_id + "/%(id)s.%(ext)s", - 'format': "best[width<=500]", + # 'format': "best[width<=500]", 'socket_timeout': 60, 'quiet': True, }