mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-26 01:26:00 +03:00
[PR #459] [MERGED] fix: Add a default cmd #2687
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#2687
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ArchiveBox/ArchiveBox/pull/459
Author: @cdvv7788
Created: 8/27/2020
Status: ✅ Merged
Merged: 9/1/2020
Merged by: @pirate
Base:
master← Head:hotfix/#458📝 Commits (3)
bf3ea42fix: Add a default cmd value to handle case where the html cannot be retrieved6603753feat: Add curl command on readability as default command to debuga645f36add comment about fake cmd📊 Changes
1 file changed (+6 additions, -0 deletions)
View changed files
📝
archivebox/extractors/readability.py(+6 -0)📄 Description
Summary
When the html cannot be retrieved (timeout, unreachable, etc), the cmd value is not set, which causes archivebox to crash. Adding a default value should be enough in that case.
**Related issues: #458
Changes these areas
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.