diff --git a/autoytarchive/workers.py b/autoytarchive/workers.py index 949f5c5..d33506b 100644 --- a/autoytarchive/workers.py +++ b/autoytarchive/workers.py @@ -147,6 +147,7 @@ async def _video_worker(): text = 'New video' if is_late: text += ' (is late)' + video_json['title'] = strip_date.sub('', video_json['title']).strip() text += f': {video_json["title"]}\nhttps://youtube.com/watch?v={video_json["id"]}' with BytesIO(json.dumps(video_json, indent=4).encode()) as file: file.name = video_json['id'] + '.json'