[GH-ISSUE #171] pdf? #120

Closed
opened 2026-03-01 14:40:46 +03:00 by kerem · 2 comments
Owner

Originally created by @g-mc on GitHub (Mar 11, 2019).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/171

github.com/pirate/ArchiveBox@32c39d0fd0/archivebox/util.py (L368-L370)

Is it necessary to have 'pdf' in Line 370?

Originally created by @g-mc on GitHub (Mar 11, 2019). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/171 https://github.com/pirate/ArchiveBox/blob/32c39d0fd062738b23cf8c45164996f1c4b467f0/archivebox/util.py#L368-L370 Is it necessary to have `'pdf'` in Line 370?
kerem closed this issue 2026-03-01 14:40:46 +03:00
Author
Owner

@pirate commented on GitHub (Mar 11, 2019):

I'm removing get_link_type entirely in the next release, so this code will all dissapear. It's only being used in one place anyway right now, and that can be refactored out with better use of derived_link_info(), but thanks anyway for the code review!

<!-- gh-comment-id:471440993 --> @pirate commented on GitHub (Mar 11, 2019): I'm removing `get_link_type` entirely in the next release, so this code will all dissapear. It's only being used in one place anyway right now, and that can be refactored out with better use of `derived_link_info()`, but thanks anyway for the code review!
Author
Owner

@g-mc commented on GitHub (Mar 11, 2019):

No problem, thanks for the explanation! I’ve been enjoying reading through
the code just to try and understand how it all works!

Thanks for your time!

On Mon, Mar 11, 2019 at 2:07 AM Nick Sweeting notifications@github.com
wrote:

Closed #171 https://github.com/pirate/ArchiveBox/issues/171.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pirate/ArchiveBox/issues/171#event-2193104525, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AdiD1HHlz4Nhrmpbj9qPNtOaYMublvMzks5vVg7YgaJpZM4bnrwI
.

<!-- gh-comment-id:471447325 --> @g-mc commented on GitHub (Mar 11, 2019): No problem, thanks for the explanation! I’ve been enjoying reading through the code just to try and understand how it all works! Thanks for your time! On Mon, Mar 11, 2019 at 2:07 AM Nick Sweeting <notifications@github.com> wrote: > Closed #171 <https://github.com/pirate/ArchiveBox/issues/171>. > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > <https://github.com/pirate/ArchiveBox/issues/171#event-2193104525>, or mute > the thread > <https://github.com/notifications/unsubscribe-auth/AdiD1HHlz4Nhrmpbj9qPNtOaYMublvMzks5vVg7YgaJpZM4bnrwI> > . >
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#120
No description provided.