@ -20,6 +20,7 @@ class WatchState:
def change(self):
"""change watched state of item(s)"""
print(f"{self.youtube_id}: change watched state to {self.is_watched}")
url_type = self._dedect_type()
if url_type == "video":
self.change_vid_state()
@ -33,7 +34,6 @@ class WatchState:
def _dedect_type(self):
"""find youtube id type"""
print(self.youtube_id)
url_process = Parser(self.youtube_id).parse()
url_type = url_process[0]["type"]
return url_type