Added tests, updated instagram_tbot_extractor.py raise failure.

This commit is contained in:
erinhmclark
2025-02-18 12:59:10 +00:00
parent f4c623b11b
commit ce5a200d1f
8 changed files with 401 additions and 157 deletions

View File

@@ -46,7 +46,7 @@ def dump_payload(p):
def update_nested_dict(dictionary, update_dict):
# takes 2 dicts and overwrites the first with the second only on the changed balues
# takes 2 dicts and overwrites the first with the second only on the changed values
for key, value in update_dict.items():
if key in dictionary and isinstance(value, dict) and isinstance(dictionary[key], dict):
update_nested_dict(dictionary[key], value)