diff --git a/stream.py b/stream.py index d81822c..3c203da 100755 --- a/stream.py +++ b/stream.py @@ -206,7 +206,7 @@ class UpstreamHandler(): data_new["og:video:width"] = data_raw.get("width") data_new["og:image:height"] = data_raw.get("thumbnail_height") data_new["og:image:width"] = data_raw.get("thumbnail_width") - for elem in data_new: + for elem in data_new.values(): if not isinstance(elem, str): data_valid = False break