undo faulty channel sync to videos

This commit is contained in:
simon 2023-05-05 19:21:09 +07:00
parent e092a29b13
commit b47687535a
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -165,8 +165,6 @@ class YoutubeChannel(YouTubeItem):
# add ingest pipeline
processors = []
for field, value in self.json_data.items():
if not value:
continue
line = {"set": {"field": "channel." + field, "value": value}}
processors.append(line)
data = {"description": self.youtube_id, "processors": processors}