diff --git a/test/fixtures/instagram-json-2026-03.md b/test/fixtures/instagram-json-2026-03.md deleted file mode 100644 index 4d02577..0000000 --- a/test/fixtures/instagram-json-2026-03.md +++ /dev/null @@ -1,14 +0,0 @@ -# instagram-json-2026-03 - -## Manual edits / notes - -* `ads_information/ads_and_topics` - * Both `posts_viewer.json` and `videos_watcher.json` have this weird array list to get the information for a single entry. "label values" They all combine to basically make one entry - * The URL in the "dict"/owner it's tied to is the external URL of that profile (like to a link tree or external website, blank if none was set) - * they were 3 long so I had to manually add some info back because scrub only keeps 2... -* `personal_information/personal_information` - * Some of the values store key-type information. You'd have to re-enter all those because scrub removes them - * A lot of `timestamp: 0` which seem to indicate no timestamp, but scrub overwrite these to `timestamp: 1` -* `your_instagram_activity/messages` - * Have to prune all the folders per-user to get to one, also updating the images to do placeholders - * There's both a "photos" and a "videos" diff --git a/test/fixtures/instagram-json-2026-03/ads_information/ads_and_topics/posts_viewed.json b/test/fixtures/instagram-json-2026-03/ads_information/ads_and_topics/posts_viewed.json deleted file mode 100644 index cacb0be..0000000 --- a/test/fixtures/instagram-json-2026-03/ads_information/ads_and_topics/posts_viewed.json +++ /dev/null @@ -1,76 +0,0 @@ -[ - { - "timestamp": 1709290000, - "media": [], - "label_values": [ - { - "label": "xxxxxxxxxxxxxxxxxxxxx" - }, - { - "label": "xxx", - "value": "url://somewhere", - "href": "url://somewhere" - }, - { - "dict": [ - { - "dict": [ - { - "label": "URL", - "value": "url://somewhere" - }, - { - "label": "Name", - "value": "xxx" - }, - { - "label": "Username", - "value": "xxxx" - } - ], - "title": "" - } - ], - "title": "Owner" - } - ], - "fbid": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" - }, - { - "timestamp": 1709290000, - "media": [], - "label_values": [ - { - "label": "xxxxxxxxxxxxxxxxxxxxx" - }, - { - "label": "xxx", - "value": "url://somewhere", - "href": "url://somewhere" - }, - { - "dict": [ - { - "dict": [ - { - "label": "URL", - "value": "url://somewhere" - }, - { - "label": "Name", - "value": "xxx" - }, - { - "label": "Username", - "value": "xxxx" - } - ], - "title": "" - } - ], - "title": "Owner" - } - ], - "fbid": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" - } -] diff --git a/test/fixtures/instagram-json-2026-03/ads_information/ads_and_topics/posts_you're_not_interested_in.json b/test/fixtures/instagram-json-2026-03/ads_information/ads_and_topics/posts_you're_not_interested_in.json deleted file mode 100644 index c1700ba..0000000 --- a/test/fixtures/instagram-json-2026-03/ads_information/ads_and_topics/posts_you're_not_interested_in.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "impressions_history_posts_not_interested": [ - { - "string_list_data": [ - { - "href": "url://somewhere", - "value": "xxxx" - }, - { - "timestamp": 1707535000 - } - ] - }, - { - "string_list_data": [ - { - "href": "url://somewhere", - "value": "xxxx" - }, - { - "timestamp": 1707150000 - } - ] - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/ads_information/ads_and_topics/videos_watched.json b/test/fixtures/instagram-json-2026-03/ads_information/ads_and_topics/videos_watched.json deleted file mode 100644 index f9085fd..0000000 --- a/test/fixtures/instagram-json-2026-03/ads_information/ads_and_topics/videos_watched.json +++ /dev/null @@ -1,76 +0,0 @@ -[ - { - "timestamp": 1709415000, - "media": [], - "label_values": [ - { - "label": "xxxxxxxxxxxxxxxxxxxxx" - }, - { - "label": "xxx", - "value": "url://somewhere", - "href": "url://somewhere" - }, - { - "dict": [ - { - "dict": [ - { - "label": "URL", - "value": "url://somewhere" - }, - { - "label": "Name", - "value": "xxx" - }, - { - "label": "Username", - "value": "xxxx" - } - ], - "title": "" - } - ], - "title": "Owner" - } - ], - "fbid": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" - }, - { - "timestamp": 1709415000, - "media": [], - "label_values": [ - { - "label": "xxxxxxxxxxxxxxxxxxxxx" - }, - { - "label": "xxx", - "value": "url://somewhere", - "href": "url://somewhere" - }, - { - "dict": [ - { - "dict": [ - { - "label": "URL", - "value": "url://somewhere" - }, - { - "label": "Name", - "value": "xxx" - }, - { - "label": "Username", - "value": "xxxx" - } - ], - "title": "" - } - ], - "title": "Owner" - } - ], - "fbid": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" - } -] diff --git a/test/fixtures/instagram-json-2026-03/ads_information/instagram_ads_and_businesses/ad_preferences.json b/test/fixtures/instagram-json-2026-03/ads_information/instagram_ads_and_businesses/ad_preferences.json deleted file mode 100644 index 7196349..0000000 --- a/test/fixtures/instagram-json-2026-03/ads_information/instagram_ads_and_businesses/ad_preferences.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "media": [], - "label_values": [ - { - "label": "xxxxxxxxxxxxxxxxxx", - "vec": [] - }, - { - "dict": [ - { - "dict": [ - { - "label": "xxxxx", - "value": "xxxxxxxxxx" - }, - { - "label": "xxxxxxxx", - "value": "xxxxxxxxxxxxxxxxxxxxxxxx" - }, - { - "label": "Creation time", - "timestamp_value": 1709290000 - } - ], - "title": "" - }, - { - "dict": [ -{ - "label": "Event", - "value": "Hide an Ad" - }, - { - "label": "Ad title", - "value": "xxx" - }, - { - "label": "Creation time", - "timestamp_value": 1709290000 - } - ], - "title": "" - } - ], - "title": "xxxxxxxxxx" - } - ], - "fbid": "11111111111111111" -} diff --git a/test/fixtures/instagram-json-2026-03/ads_information/instagram_ads_and_businesses/ads_about_meta.json b/test/fixtures/instagram-json-2026-03/ads_information/instagram_ads_and_businesses/ads_about_meta.json deleted file mode 100644 index f69939f..0000000 --- a/test/fixtures/instagram-json-2026-03/ads_information/instagram_ads_and_businesses/ads_about_meta.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "media": [], - "label_values": [ - { - "label": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "value": "xxxxx" - }, - { - "label": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "timestamp_value": 1 - } - ], - "fbid": "1111111111111111" -} diff --git a/test/fixtures/instagram-json-2026-03/ads_information/instagram_ads_and_businesses/advertisers_using_your_activity_or_information.json b/test/fixtures/instagram-json-2026-03/ads_information/instagram_ads_and_businesses/advertisers_using_your_activity_or_information.json deleted file mode 100644 index 1edbb5b..0000000 --- a/test/fixtures/instagram-json-2026-03/ads_information/instagram_ads_and_businesses/advertisers_using_your_activity_or_information.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "ig_custom_audiences_all_types": [ - { - "advertiser_name": "xxxxxxxxxxxxxxxxx", - "has_data_file_custom_audience": false, - "has_remarketing_custom_audience": false, - "has_in_person_store_visit": false - }, - { - "advertiser_name": "xxxxxxxxx", - "has_data_file_custom_audience": false, - "has_remarketing_custom_audience": false, - "has_in_person_store_visit": false - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/ads_information/instagram_ads_and_businesses/other_categories_used_to_reach_you.json b/test/fixtures/instagram-json-2026-03/ads_information/instagram_ads_and_businesses/other_categories_used_to_reach_you.json deleted file mode 100644 index 85bdebf..0000000 --- a/test/fixtures/instagram-json-2026-03/ads_information/instagram_ads_and_businesses/other_categories_used_to_reach_you.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "media": [], - "label_values": [ - { - "label": "xxxx", - "vec": [ - { - "value": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" - }, - { - "value": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" - } - ] - } - ], - "fbid": "11111111111111111" -} diff --git a/test/fixtures/instagram-json-2026-03/apps_and_websites_off_of_instagram/apps_and_websites/your_activity_off_meta_technologies.json b/test/fixtures/instagram-json-2026-03/apps_and_websites_off_of_instagram/apps_and_websites/your_activity_off_meta_technologies.json deleted file mode 100644 index 9657a1b..0000000 --- a/test/fixtures/instagram-json-2026-03/apps_and_websites_off_of_instagram/apps_and_websites/your_activity_off_meta_technologies.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "apps_and_websites_off_meta_activity": [ - { - "name": "xxxxxxxx", - "events": [ - { - "id": 1111111111111111, - "type": "xxxxxxxxx", - "timestamp": 1716350000 - } - ] - }, - { - "name": "xxxxxxxxxxxxxxxx", - "events": [ - { - "id": 111111111111111, - "type": "xxxxxxxxxxxx", - "timestamp": 1705390000 - } - ] - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/apps_and_websites_off_of_instagram/apps_and_websites/your_activity_off_meta_technologies_settings.json b/test/fixtures/instagram-json-2026-03/apps_and_websites_off_of_instagram/apps_and_websites/your_activity_off_meta_technologies_settings.json deleted file mode 100644 index 3f8a73a..0000000 --- a/test/fixtures/instagram-json-2026-03/apps_and_websites_off_of_instagram/apps_and_websites/your_activity_off_meta_technologies_settings.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "timestamp": 1720710000, - "media": [], - "label_values": [ - { - "label": "xxxxxxxxxxxxxxxxxxxxxxxxx", - "value": "xxxxxxxxxxxxxxxxxxxxxxxxxxx" - }, - { - "label": "xxxxxxxxxxxxxxxxxxxxxxxxx", - "timestamp_value": 1 - } - ], - "fbid": "11111111111111111" -} diff --git a/test/fixtures/instagram-json-2026-03/connections/followers_and_following/blocked_profiles.json b/test/fixtures/instagram-json-2026-03/connections/followers_and_following/blocked_profiles.json deleted file mode 100644 index ed6181d..0000000 --- a/test/fixtures/instagram-json-2026-03/connections/followers_and_following/blocked_profiles.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "relationships_blocked_users": [ - { - "title": "xxxxxxxxxxx", - "string_list_data": [ - { - "href": "https://www.instagram.com/_u/xxxxxxxxxxx", - "timestamp": 1706055000 - } - ] - }, - { - "title": "xxxxxxxxx", - "string_list_data": [ - { - "href": "https://www.instagram.com/_u/xxxxxxxxx", - "timestamp": 1731920000 - } - ] - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/connections/followers_and_following/followers_1.json b/test/fixtures/instagram-json-2026-03/connections/followers_and_following/followers_1.json deleted file mode 100644 index c5690e3..0000000 --- a/test/fixtures/instagram-json-2026-03/connections/followers_and_following/followers_1.json +++ /dev/null @@ -1,24 +0,0 @@ -[ - { - "title": "", - "media_list_data": [], - "string_list_data": [ - { - "href": "https://www.instagram.com/xxx", - "value": "xxxxxxxxxxxxxxxxxxx", - "timestamp": 1726180000 - } - ] - }, - { - "title": "", - "media_list_data": [], - "string_list_data": [ - { - "href": "https://www.instagram.com/xxx", - "value": "xxxxxxxx", - "timestamp": 1715235000 - } - ] - } -] diff --git a/test/fixtures/instagram-json-2026-03/connections/followers_and_following/following.json b/test/fixtures/instagram-json-2026-03/connections/followers_and_following/following.json deleted file mode 100644 index 69a5761..0000000 --- a/test/fixtures/instagram-json-2026-03/connections/followers_and_following/following.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "relationships_following": [ - { - "title": "xxxxxxxxxxx", - "string_list_data": [ - { - "href": "https://www.instagram.com/xxx", - "timestamp": 1709895000 - } - ] - }, - { - "title": "xxxxxxxxx", - "string_list_data": [ - { - "href": "https://www.instagram.com/xxx", - "timestamp": 1709360000 - } - ] - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/connections/followers_and_following/pending_follow_requests.json b/test/fixtures/instagram-json-2026-03/connections/followers_and_following/pending_follow_requests.json deleted file mode 100644 index 485ae76..0000000 --- a/test/fixtures/instagram-json-2026-03/connections/followers_and_following/pending_follow_requests.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "relationships_follow_requests_sent": [ - { - "title": "", - "media_list_data": [], - "string_list_data": [ - { - "href": "https://www.instagram.com/xxx", - "value": "xxxxxxxxxxxxx", - "timestamp": 1706355000 - } - ] - }, - { - "title": "", - "media_list_data": [], - "string_list_data": [ - { - "href": "https://www.instagram.com/xxx", - "value": "xxxxxxxxxxx", - "timestamp": 1735340000 - } - ] - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/connections/followers_and_following/recently_unfollowed_profiles.json b/test/fixtures/instagram-json-2026-03/connections/followers_and_following/recently_unfollowed_profiles.json deleted file mode 100644 index 4c5132a..0000000 --- a/test/fixtures/instagram-json-2026-03/connections/followers_and_following/recently_unfollowed_profiles.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "relationships_unfollowed_users": [ - { - "title": "", - "media_list_data": [], - "string_list_data": [ - { - "href": "https://www.instagram.com/xxx", - "value": "xxxxxxxxxx", - "timestamp": 1707535000 - } - ] - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/connections/followers_and_following/removed_suggestions.json b/test/fixtures/instagram-json-2026-03/connections/followers_and_following/removed_suggestions.json deleted file mode 100644 index 22b7fca..0000000 --- a/test/fixtures/instagram-json-2026-03/connections/followers_and_following/removed_suggestions.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "relationships_dismissed_suggested_users": [ - { - "title": "", - "media_list_data": [], - "string_list_data": [ - { - "href": "https://www.instagram.com/xxx", - "value": "xxxxxxxxxxxxxx", - "timestamp": 1716255000 - } - ] - }, - { - "title": "", - "media_list_data": [], - "string_list_data": [ - { - "href": "https://www.instagram.com/xxx", - "value": "xxxxxxxxxxxxxxxx", - "timestamp": 1716255000 - } - ] - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/logged_information/link_history/your_link_history_settings.json b/test/fixtures/instagram-json-2026-03/logged_information/link_history/your_link_history_settings.json deleted file mode 100644 index febf62c..0000000 --- a/test/fixtures/instagram-json-2026-03/logged_information/link_history/your_link_history_settings.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "timestamp": 1734985000, - "media": [], - "label_values": [ - { - "label": "xxxxxxxxxxxxxxxxxxxxxxxx" - }, - { - "label": "xxxxxxxxxxxxxxxxx", - "timestamp_value": 1733805000 - } - ], - "fbid": "111111111111111" -} diff --git a/test/fixtures/instagram-json-2026-03/personal_information/device_information/devices.json b/test/fixtures/instagram-json-2026-03/personal_information/device_information/devices.json deleted file mode 100644 index 996a186..0000000 --- a/test/fixtures/instagram-json-2026-03/personal_information/device_information/devices.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "devices_devices": [ - { - "title": "", - "media_map_data": {}, - "string_map_data": { - "Last Login": { - "href": "", - "value": "", - "timestamp": 1731745000 - }, - "User Agent": { - "href": "", - "value": "some/path", - "timestamp": 1 - } - } - }, - { - "title": "", - "media_map_data": {}, - "string_map_data": { - "Last Login": { - "href": "", - "value": "", - "timestamp": 1722175000 - }, - "User Agent": { - "href": "", - "value": "some/path", - "timestamp": 1 - } - } - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/personal_information/information_about_you/profile_based_in.json b/test/fixtures/instagram-json-2026-03/personal_information/information_about_you/profile_based_in.json deleted file mode 100644 index 5842e79..0000000 --- a/test/fixtures/instagram-json-2026-03/personal_information/information_about_you/profile_based_in.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "inferred_data_primary_location": [ - { - "title": "", - "media_map_data": {}, - "string_map_data": { - "City Name": { - "href": "", - "value": "xxxxxxxxxxxxxx", - "timestamp": 1 - } - } - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/personal_information/personal_information/instagram_friend_map.json b/test/fixtures/instagram-json-2026-03/personal_information/personal_information/instagram_friend_map.json deleted file mode 100644 index 6524d64..0000000 --- a/test/fixtures/instagram-json-2026-03/personal_information/personal_information/instagram_friend_map.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "profile_friend_map": [ - { - "title": "", - "media_map_data": {}, - "string_map_data": { - "Incoming requests": { - "href": "", - "value": "", - "timestamp": 1 - }, - "Outgoing requests": { - "href": "", - "value": "", - "timestamp": 1 - } - } - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/personal_information/personal_information/instagram_profile_information.json b/test/fixtures/instagram-json-2026-03/personal_information/personal_information/instagram_profile_information.json deleted file mode 100644 index 3e9cdbf..0000000 --- a/test/fixtures/instagram-json-2026-03/personal_information/personal_information/instagram_profile_information.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "profile_account_insights": [ - { - "title": "", - "media_map_data": {}, - "string_map_data": { - "Contact Syncing": { - "href": "", - "value": "xxxxx", - "timestamp": 1 - }, - "First Country Code": { - "href": "", - "value": "xx", - "timestamp": 1 - }, - "Has Shared Live Video": { - "href": "", - "value": "xxxxx", - "timestamp": 1 - }, - "Last Login": { - "href": "", - "value": "", - "timestamp": 1731745000 - }, - "Last Logout": { - "href": "", - "value": "", - "timestamp": 1723505000 - }, - "First Story Time": { - "href": "", - "value": "", - "timestamp": 1 - }, - "Last Story Time": { - "href": "", - "value": "", - "timestamp": 1 - }, - "First Close Friends Story Time": { - "href": "", - "value": "", - "timestamp": 1 - } - } - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/personal_information/personal_information/note_interactions.json b/test/fixtures/instagram-json-2026-03/personal_information/personal_information/note_interactions.json deleted file mode 100644 index 8692ff2..0000000 --- a/test/fixtures/instagram-json-2026-03/personal_information/personal_information/note_interactions.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "profile_note_interactions": [ - { - "title": "", - "media_map_data": {}, - "string_map_data": { - "Last Notes Seen Time": { - "href": "", - "value": "", - "timestamp": 1733380000 - } - } - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/personal_information/personal_information/personal_information.json b/test/fixtures/instagram-json-2026-03/personal_information/personal_information/personal_information.json deleted file mode 100644 index fe0afb6..0000000 --- a/test/fixtures/instagram-json-2026-03/personal_information/personal_information/personal_information.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "profile_user": [ - { - "title": "xxxxxxxxxxxxxxxx", - "media_map_data": {}, - "string_map_data": { - "Email": { - "href": "", - "value": "not_a_real_email@example.com", - "timestamp": 1 - }, - "Phone Confirmed": { - "href": "", - "value": "xxxxx", - "timestamp": 1 - }, - "Username": { - "href": "", - "value": "xxx", - "timestamp": 1 - }, - "Name": { - "href": "", - "value": "xxx", - "timestamp": 1 - }, - "Gender": { - "href": "", - "value": "xxx", - "timestamp": 1 - }, - "Date of birth": { - "href": "", - "value": "2020-04-13", - "timestamp": 1 - }, - "Private Account": { - "href": "", - "value": "xxxxx", - "timestamp": 1 - } - } - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/personal_information/personal_information/professional_information.json b/test/fixtures/instagram-json-2026-03/personal_information/personal_information/professional_information.json deleted file mode 100644 index 9fb2188..0000000 --- a/test/fixtures/instagram-json-2026-03/personal_information/personal_information/professional_information.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "profile_business": [ - { - "title": "Business Information", - "media_map_data": {}, - "string_map_data": {} - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/personal_information/personal_information/profile_changes.json b/test/fixtures/instagram-json-2026-03/personal_information/personal_information/profile_changes.json deleted file mode 100644 index db8d2d2..0000000 --- a/test/fixtures/instagram-json-2026-03/personal_information/personal_information/profile_changes.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "profile_profile_change": [ - { - "title": "Profile Change", - "media_map_data": {}, - "string_map_data": { - "Changed": { - "href": "", - "value": "Email", - "timestamp": 0 - }, - "Previous Value": { - "href": "", - "value": "", - "timestamp": 0 - }, - "New Value": { - "href": "", - "value": "not_a_real_email@example.com", - "timestamp": 0 - }, - "Change Date": { - "href": "", - "value": "", - "timestamp": 1716255000 - } - } - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/preferences/settings/comments_allowed_from.json b/test/fixtures/instagram-json-2026-03/preferences/settings/comments_allowed_from.json deleted file mode 100644 index a066ac3..0000000 --- a/test/fixtures/instagram-json-2026-03/preferences/settings/comments_allowed_from.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "settings_allow_comments_from": [ - { - "title": "", - "media_map_data": {}, - "string_map_data": { - "Comments Allowed From": { - "href": "", - "value": "xxxxxxxx", - "timestamp": 1 - } - } - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/preferences/settings/consents.json b/test/fixtures/instagram-json-2026-03/preferences/settings/consents.json deleted file mode 100644 index 86fbd7c..0000000 --- a/test/fixtures/instagram-json-2026-03/preferences/settings/consents.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "timestamp": 1716255000, - "media": [], - "label_values": [ - { - "label": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" - }, - { - "label": "xxxxxxxxxxx", - "timestamp_value": 1716255000 - } - ], - "fbid": "11111111111111111" -} diff --git a/test/fixtures/instagram-json-2026-03/preferences/settings/notification_preferences.json b/test/fixtures/instagram-json-2026-03/preferences/settings/notification_preferences.json deleted file mode 100644 index e3249ab..0000000 --- a/test/fixtures/instagram-json-2026-03/preferences/settings/notification_preferences.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "settings_notification_preferences": [ - { - "string_map_data": { - "Channel": { - "value": "xxxxx" - }, - "Type": { - "value": "xxxxxxxxxxxx" - }, - "Value": { - "value": "xxx" - } - } - }, - { - "string_map_data": { - "Channel": { - "value": "xxxxx" - }, - "Type": { - "value": "xxxxxxxxxxxxx" - }, - "Value": { - "value": "xxx" - } - } - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/preferences/settings/use_cross-app_messaging.json b/test/fixtures/instagram-json-2026-03/preferences/settings/use_cross-app_messaging.json deleted file mode 100644 index 879bfd6..0000000 --- a/test/fixtures/instagram-json-2026-03/preferences/settings/use_cross-app_messaging.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "settings_upgraded_to_cross_app_messaging": [ - { - "title": "", - "media_map_data": {}, - "string_map_data": { - "Upgraded To Cross-App Messaging": { - "href": "", - "value": "xxxxx", - "timestamp": 1 - }, - "Time Upgraded": { - "href": "", - "value": "", - "timestamp": 1 - } - } - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/preferences/your_topics/recommended_topics.json b/test/fixtures/instagram-json-2026-03/preferences/your_topics/recommended_topics.json deleted file mode 100644 index af4d8c9..0000000 --- a/test/fixtures/instagram-json-2026-03/preferences/your_topics/recommended_topics.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "topics_your_topics": [ - { - "title": "", - "media_map_data": {}, - "string_map_data": { - "Name": { - "href": "", - "value": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "timestamp": 1 - } - } - }, - { - "title": "", - "media_map_data": {}, - "string_map_data": { - "Name": { - "href": "", - "value": "xxxxxxxxxx", - "timestamp": 1 - } - } - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/security_and_login_information/login_and_profile_creation/last_known_location.json b/test/fixtures/instagram-json-2026-03/security_and_login_information/login_and_profile_creation/last_known_location.json deleted file mode 100644 index 126e3bc..0000000 --- a/test/fixtures/instagram-json-2026-03/security_and_login_information/login_and_profile_creation/last_known_location.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "account_history_imprecise_last_known_location": [ - { - "title": "", - "media_map_data": {}, - "string_map_data": { - "Imprecise Latitude": { - "href": "", - "value": "1", - "timestamp": 1 - }, - "Imprecise Longitude": { - "href": "", - "value": "1", - "timestamp": 1 - }, - "Precise Latitude": { - "href": "", - "value": "1", - "timestamp": 1 - }, - "Precise Longitude": { - "href": "", - "value": "1", - "timestamp": 1 - }, - "GPS Time Uploaded": { - "href": "", - "value": "", - "timestamp": 1 - } - } - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/security_and_login_information/login_and_profile_creation/login_activity.json b/test/fixtures/instagram-json-2026-03/security_and_login_information/login_and_profile_creation/login_activity.json deleted file mode 100644 index 03671bb..0000000 --- a/test/fixtures/instagram-json-2026-03/security_and_login_information/login_and_profile_creation/login_activity.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "account_history_login_history": [ - { - "title": "2020-04-13T10:09:08+00:00", - "media_map_data": {}, - "string_map_data": { - "Cookie Name": { - "href": "", - "value": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "timestamp": 1 - }, - "IP Address": { - "href": "", - "value": "1.1.1.1", - "timestamp": 1 - }, - "Port": { - "href": "", - "value": "11111", - "timestamp": 1 - }, - "Language Code": { - "href": "", - "value": "xx", - "timestamp": 1 - }, - "Time": { - "href": "", - "value": "", - "timestamp": 1731745000 - }, - "User Agent": { - "href": "", - "value": "some/path", - "timestamp": 1 - } - } - }, - { - "title": "2020-04-13T10:09:08+00:00", - "media_map_data": {}, - "string_map_data": { - "Cookie Name": { - "href": "", - "value": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "timestamp": 1 - }, - "IP Address": { - "href": "", - "value": "1.1.1.1", - "timestamp": 1 - }, - "Port": { - "href": "", - "value": "11111", - "timestamp": 1 - }, - "Language Code": { - "href": "", - "value": "xx", - "timestamp": 1 - }, - "Time": { - "href": "", - "value": "", - "timestamp": 1722175000 - }, - "User Agent": { - "href": "", - "value": "some/path", - "timestamp": 1 - } - } - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/security_and_login_information/login_and_profile_creation/logout_activity.json b/test/fixtures/instagram-json-2026-03/security_and_login_information/login_and_profile_creation/logout_activity.json deleted file mode 100644 index d00b87f..0000000 --- a/test/fixtures/instagram-json-2026-03/security_and_login_information/login_and_profile_creation/logout_activity.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "account_history_logout_history": [ - { - "title": "2020-04-13T10:09:08+00:00", - "media_map_data": {}, - "string_map_data": { - "Cookie Name": { - "href": "", - "value": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "timestamp": 1 - }, - "IP Address": { - "href": "", - "value": "1.1.1.1", - "timestamp": 1 - }, - "Port": { - "href": "", - "value": "11111", - "timestamp": 1 - }, - "Language Code": { - "href": "", - "value": "xx", - "timestamp": 1 - }, - "Time": { - "href": "", - "value": "", - "timestamp": 1723505000 - }, - "User Agent": { - "href": "", - "value": "some/path", - "timestamp": 1 - } - } - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/security_and_login_information/login_and_profile_creation/signup_details.json b/test/fixtures/instagram-json-2026-03/security_and_login_information/login_and_profile_creation/signup_details.json deleted file mode 100644 index 629bf53..0000000 --- a/test/fixtures/instagram-json-2026-03/security_and_login_information/login_and_profile_creation/signup_details.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "account_history_registration_info": [ - { - "title": "", - "media_map_data": {}, - "string_map_data": { - "Username": { - "href": "", - "value": "xxxxxxxxxxxx", - "timestamp": 1 - }, - "IP Address": { - "href": "", - "value": "1.1.1.1", - "timestamp": 1 - }, - "Time": { - "href": "", - "value": "", - "timestamp": 1716255000 - }, - "Email": { - "href": "", - "value": "not_a_real_email@example.com", - "timestamp": 1 - }, - "Phone Number": { - "href": "", - "value": "", - "timestamp": 1 - }, - "Device": { - "href": "", - "value": "", - "timestamp": 1 - } - } - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/your_instagram_activity/comments/post_comments_1.json b/test/fixtures/instagram-json-2026-03/your_instagram_activity/comments/post_comments_1.json deleted file mode 100644 index 353b5c9..0000000 --- a/test/fixtures/instagram-json-2026-03/your_instagram_activity/comments/post_comments_1.json +++ /dev/null @@ -1,38 +0,0 @@ -[ - { - "media_list_data": [ - { - "uri": "" - } - ], - "string_map_data": { - "Comment": { - "value": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" - }, - "Media Owner": { - "value": "xxxxxxxxx" - }, - "Time": { - "timestamp": 1708465000 - } - } - }, - { - "media_list_data": [ - { - "uri": "" - } - ], - "string_map_data": { - "Comment": { - "value": "xxxxxxxxxxxxxxxxxxxxxxxxxx" - }, - "Media Owner": { - "value": "xxxxxxxxx" - }, - "Time": { - "timestamp": 1727790000 - } - } - } -] diff --git a/test/fixtures/instagram-json-2026-03/your_instagram_activity/likes/liked_comments.json b/test/fixtures/instagram-json-2026-03/your_instagram_activity/likes/liked_comments.json deleted file mode 100644 index be343d8..0000000 --- a/test/fixtures/instagram-json-2026-03/your_instagram_activity/likes/liked_comments.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "likes_comment_likes": [ - { - "title": "xxxxxxxxxxxxxxx", - "string_list_data": [ - { - "href": "https://www.instagram.com/reel/xxx/", - "value": "xxxx", - "timestamp": 1728395000 - } - ] - }, - { - "title": "xxxxxxxxxxx", - "string_list_data": [ - { - "href": "https://www.instagram.com/reel/xxx/", - "value": "xxxx", - "timestamp": 1717495000 - } - ] - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/your_instagram_activity/likes/liked_posts.json b/test/fixtures/instagram-json-2026-03/your_instagram_activity/likes/liked_posts.json deleted file mode 100644 index 333660c..0000000 --- a/test/fixtures/instagram-json-2026-03/your_instagram_activity/likes/liked_posts.json +++ /dev/null @@ -1,62 +0,0 @@ -[ - { - "timestamp": 1710230000, - "media": [], - "label_values": [ - { - "label": "xxx", - "value": "https://www.instagram.com/reel/xxx/", - "href": "https://www.instagram.com/reel/xxx/" - }, - { - "dict": [ - { - "dict": [ - { - "label": "xxx", - "value": "https://www.example.com" - }, - { - "label": "xxxx", - "value": "xxxxxxxx" - } - ], - "title": "" - } - ], - "title": "xxxxx" - } - ], - "fbid": "11111111111111111" - }, - { - "timestamp": 1710230000, - "media": [], - "label_values": [ - { - "label": "xxx", - "value": "url://somewhere", - "href": "url://somewhere" - }, - { - "dict": [ - { - "dict": [ - { - "label": "xxx", - "value": "url://somewhere" - }, - { - "label": "xxxx", - "value": "xxxxxxxxx" - } - ], - "title": "" - } - ], - "title": "xxxxx" - } - ], - "fbid": "11111111111111111" - } -] diff --git a/test/fixtures/instagram-json-2026-03/your_instagram_activity/messages/inbox/username_11111111111111/message_1.json b/test/fixtures/instagram-json-2026-03/your_instagram_activity/messages/inbox/username_11111111111111/message_1.json deleted file mode 100644 index ccf18b7..0000000 --- a/test/fixtures/instagram-json-2026-03/your_instagram_activity/messages/inbox/username_11111111111111/message_1.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "participants": [ - { - "name": "xxxxx" - }, - { - "name": "xxxxxxxxxxxx" - } - ], - "messages": [ - { - "sender_name": "xxxxx", - "timestamp_ms": 1700000000000, - "content": "xxxxxxxxxxxxxxxxxxxxxxxxx", - "share": { - "link": "url://somewhere", - "share_text": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "original_content_owner": "xxxxxxxxxxxxxxxxx" - }, - "is_geoblocked_for_viewer": false, - "is_unsent_image_by_messenger_kid_parent": false - }, - { - "sender_name": "xxxxx", - "timestamp_ms": 1700000000000, - "content": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "is_geoblocked_for_viewer": false, - "is_unsent_image_by_messenger_kid_parent": false - }, - { - "sender_name": "xxx", - "timestamp_ms": 1700000000000, - "photos": [ - { - "uri": "your_instagram_activity/messages/inbox/username_111111111/photos/xxx.png", - "creation_timestamp": 1700000000 - }, - { - "uri": "your_instagram_activity/messages/inbox/username_111111111/photos/xxx.png", - "creation_timestamp": 1700000000 - }, - { - "uri": "your_instagram_activity/messages/inbox/username_111111111/photos/xxx.png", - "creation_timestamp": 1700000000 - }, - { - "uri": "your_instagram_activity/messages/inbox/username_111111111/photos/xxx.png", - "creation_timestamp": 1700000000 - } - ], - "is_geoblocked_for_viewer": false, - "is_unsent_image_by_messenger_kid_parent": false - } - ], - "title": "xxxxx", - "is_still_participant": false, - "thread_path": "some/path", - "magic_words": [] -} diff --git a/test/fixtures/instagram-json-2026-03/your_instagram_activity/messages/inbox/username_11111111111111/photos/xxx.png b/test/fixtures/instagram-json-2026-03/your_instagram_activity/messages/inbox/username_11111111111111/photos/xxx.png deleted file mode 100644 index abc6b4a..0000000 Binary files a/test/fixtures/instagram-json-2026-03/your_instagram_activity/messages/inbox/username_11111111111111/photos/xxx.png and /dev/null differ diff --git a/test/fixtures/instagram-json-2026-03/your_instagram_activity/monetization/eligibility.json b/test/fixtures/instagram-json-2026-03/your_instagram_activity/monetization/eligibility.json deleted file mode 100644 index 2455a83..0000000 --- a/test/fixtures/instagram-json-2026-03/your_instagram_activity/monetization/eligibility.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "monetization_eligibility": [ - { - "title": "", - "media_map_data": {}, - "string_map_data": { - "Product Name": { - "href": "", - "value": "xxxxxxxxxxxxxxx", - "timestamp": 1 - }, - "Decision": { - "href": "", - "value": "xxxxxxxxxxxx", - "timestamp": 1 - }, - "Reason": { - "href": "", - "value": "", - "timestamp": 1 - } - } - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/your_instagram_activity/other_activity/your_information_download_requests.json b/test/fixtures/instagram-json-2026-03/your_instagram_activity/other_activity/your_information_download_requests.json deleted file mode 100644 index 066fbd2..0000000 --- a/test/fixtures/instagram-json-2026-03/your_instagram_activity/other_activity/your_information_download_requests.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "timestamp": 1710420000, - "media": [], - "label_values": [ - { - "label": "xxxxxxxxxxxxxxxxxxxxxxx", - "timestamp_value": 1 - }, - { - "label": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "value": "1" - } - ], - "fbid": "111111111111111" - }, - { - "timestamp": 1717720000, - "media": [], - "label_values": [ - { - "label": "xxxxxxxxxxxxxxxxxxxxxxx", - "timestamp_value": 1717720000 - }, - { - "label": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "value": "1" - } - ], - "fbid": "1111111111111111" - } -] diff --git a/test/fixtures/instagram-json-2026-03/your_instagram_activity/saved/saved_posts.json b/test/fixtures/instagram-json-2026-03/your_instagram_activity/saved/saved_posts.json deleted file mode 100644 index 61d0381..0000000 --- a/test/fixtures/instagram-json-2026-03/your_instagram_activity/saved/saved_posts.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "saved_saved_media": [ - { - "title": "xxxxxxxxxxxxxxxxxxxx", - "string_map_data": { - "Saved on": { - "href": "https://www.instagram.com/reel/xxx/", - "timestamp": 1706285000 - } - } - }, - { - "title": "xxxxxxxxxxxxxxxxxxxxxxxxxxx", - "string_map_data": { - "Saved on": { - "href": "https://www.instagram.com/reel/xxx/", - "timestamp": 1728990000 - } - } - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/your_instagram_activity/shopping/recently_viewed_items.json b/test/fixtures/instagram-json-2026-03/your_instagram_activity/shopping/recently_viewed_items.json deleted file mode 100644 index 98bfe08..0000000 --- a/test/fixtures/instagram-json-2026-03/your_instagram_activity/shopping/recently_viewed_items.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "checkout_saved_recently_viewed_products": [ - { - "string_map_data": { - "Product Name": { - "value": "xxxxxxxxxxxxxxxxx" - }, - "Merchant Name": { - "value": "xxxxxxxx" - } - } - }, - { - "string_map_data": { - "Product Name": { - "value": "xxxxxxxxxxxxx" - }, - "Merchant Name": { - "value": "xxxxxxxx" - } - } - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/your_instagram_activity/story_interactions/emoji_sliders.json b/test/fixtures/instagram-json-2026-03/your_instagram_activity/story_interactions/emoji_sliders.json deleted file mode 100644 index da14015..0000000 --- a/test/fixtures/instagram-json-2026-03/your_instagram_activity/story_interactions/emoji_sliders.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "story_activities_emoji_sliders": [ - { - "title": "xxxxxxxxxxxxxxxxxxxxxxxx", - "string_list_data": [ - { - "value": "11.111111", - "timestamp": 1725205000 - } - ] - }, - { - "title": "xxxxxxxxxxxxx", - "string_list_data": [ - { - "value": "11.111111", - "timestamp": 1722800000 - } - ] - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/your_instagram_activity/story_interactions/polls.json b/test/fixtures/instagram-json-2026-03/your_instagram_activity/story_interactions/polls.json deleted file mode 100644 index 237a790..0000000 --- a/test/fixtures/instagram-json-2026-03/your_instagram_activity/story_interactions/polls.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "story_activities_polls": [ - { - "title": "xxxxxxxxxx", - "string_list_data": [ - { - "value": "xxx", - "timestamp": 1717115000 - } - ] - }, - { - "title": "xxxxxxxxxxxxxx", - "string_list_data": [ - { - "value": "xxxxxxxxxxxxx", - "timestamp": 1706355000 - } - ] - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/your_instagram_activity/subscriptions/show_exclusive_story_promo_setting.json b/test/fixtures/instagram-json-2026-03/your_instagram_activity/subscriptions/show_exclusive_story_promo_setting.json deleted file mode 100644 index 3fa23ba..0000000 --- a/test/fixtures/instagram-json-2026-03/your_instagram_activity/subscriptions/show_exclusive_story_promo_setting.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "subscriptions_show_story_teaser_setting": [ - { - "title": "", - "media_map_data": {}, - "string_map_data": { - "Exclusive Story Promo Setting": { - "href": "", - "value": "xxxxx", - "timestamp": 1 - } - } - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/your_instagram_activity/subscriptions/your_muted_story_teaser_creators.json b/test/fixtures/instagram-json-2026-03/your_instagram_activity/subscriptions/your_muted_story_teaser_creators.json deleted file mode 100644 index 8e26da6..0000000 --- a/test/fixtures/instagram-json-2026-03/your_instagram_activity/subscriptions/your_muted_story_teaser_creators.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "subscriptions_muted_story_teaser_creators": [ - { - "title": "", - "media_map_data": {}, - "string_map_data": { - "Muted Creators": { - "href": "", - "value": "", - "timestamp": 1 - } - } - } - ] -} diff --git a/test/fixtures/instagram-json-2026-03/your_instagram_activity/threads/threads_viewed.json b/test/fixtures/instagram-json-2026-03/your_instagram_activity/threads/threads_viewed.json deleted file mode 100644 index 41161d2..0000000 --- a/test/fixtures/instagram-json-2026-03/your_instagram_activity/threads/threads_viewed.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "text_post_app_text_post_app_posts_seen": [ - { - "string_map_data": { - "Author": { - "value": "xxxxxxxxxxxxxxx" - }, - "Time": { - "timestamp": 1709290000 - }, - "URL": { - "href": "https://www.instagram.com/p/xxx/" - } - } - }, - { - "string_map_data": { - "Author": { - "value": "xxxxxxxx" - }, - "Time": { - "timestamp": 1709290000 - }, - "URL": { - "href": "https://www.instagram.com/p/xxx/" - } - } - } - ] -} diff --git a/util/scrub.ts b/util/scrub.ts index b076128..20f12b1 100755 --- a/util/scrub.ts +++ b/util/scrub.ts @@ -76,8 +76,11 @@ assert(overrideType === undefined || overrideType === "" || overrideType === "cs console.log(`Matching files against passed file_or_glob: '${fileOrGlob}'`); -const filePaths = (await Array.fromAsync(fs.glob(fileOrGlob))) - .map(p => path.resolve(p)); +const filePaths: string[] = []; +for await (const file of fs.glob(fileOrGlob)) { + const resolved = path.resolve(file); + filePaths.push(resolved); +} console.log("filePaths", filePaths); assert(filePaths.length > 0, `No files found matching: ${fileOrGlob}`);