From da3141f3d937459cd7cfd9180970b9ec1d14bb5e Mon Sep 17 00:00:00 2001 From: Ronnie Ghose <1313566+RONNCC@users.noreply.github.com> Date: Tue, 25 Apr 2023 16:47:06 -0700 Subject: [PATCH] Update captions.py to import json --- pytube/captions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pytube/captions.py b/pytube/captions.py index c133605d8..fe84bec3f 100644 --- a/pytube/captions.py +++ b/pytube/captions.py @@ -1,6 +1,7 @@ import math import os import time +import json import xml.etree.ElementTree as ElementTree from html import unescape from typing import Dict, Optional