[PR #996] [MERGED] Skip first line of the "JSON" file #1304

Closed
opened 2026-03-01 14:49:15 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ArchiveBox/ArchiveBox/pull/996
Author: @barthalion
Created: 7/5/2022
Status: Merged
Merged: 9/4/2023
Merged by: @pirate

Base: devHead: dev


📝 Commits (2)

  • eb97fd4 Skip first line of the "JSON" file
  • aaca74f only start parsing json after the first open brace

📊 Changes

1 file changed (+4 additions, -1 deletions)

View changed files

📝 archivebox/parsers/generic_json.py (+4 -1)

📄 Description

ArchiveBox moves the file to parse to the sources directory and adds the
original filename at the top, making the file invalid.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ArchiveBox/ArchiveBox/pull/996 **Author:** [@barthalion](https://github.com/barthalion) **Created:** 7/5/2022 **Status:** ✅ Merged **Merged:** 9/4/2023 **Merged by:** [@pirate](https://github.com/pirate) **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (2) - [`eb97fd4`](https://github.com/ArchiveBox/ArchiveBox/commit/eb97fd427b406a332ff7b10180da769067b2d769) Skip first line of the "JSON" file - [`aaca74f`](https://github.com/ArchiveBox/ArchiveBox/commit/aaca74f6a898ac3f1644d774a6f00fabe7e572bc) only start parsing json after the first open brace ### 📊 Changes **1 file changed** (+4 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `archivebox/parsers/generic_json.py` (+4 -1) </details> ### 📄 Description ArchiveBox moves the file to parse to the sources directory and adds the original filename at the top, making the file invalid. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 14:49:15 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#1304
No description provided.