Created
October 19, 2021 10:20
-
-
Save Hkazanci93/19ad4175b0c6f3b65a177d621c3a8ce9 to your computer and use it in GitHub Desktop.
Code to unzip and parse metadata.zip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
redis_client.hset(f"article_id:{article_id}",mapping={'title': each_line['title']}) | |
redis_client.hset(f"article_id:{article_id}",mapping={'publication_date':each_line['publish_time']}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment