Skip to content

Commit

Permalink
Merge branch 'ping:main' into spiritomb
Browse files Browse the repository at this point in the history
  • Loading branch information
holyspiritomb authored Sep 15, 2023
2 parents b01c5ab + 5571614 commit ff3496c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 24 deletions.
37 changes: 13 additions & 24 deletions _recipes.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,17 +238,6 @@
logo_path_or_url="https://www.ft.com/partnercontent/content-hub/static/media/ft-horiz-new-black.215c1169.png"
),
),
Recipe(
recipe="ft-paper",
slug="ft-print",
src_ext="mobi",
target_ext=["epub"],
category="News",
tags=["business"],
cover_options=CoverOptions(
logo_path_or_url="https://www.ft.com/partnercontent/content-hub/static/media/ft-horiz-new-black.215c1169.png"
),
),
Recipe(
recipe="fulcrum-sg",
slug="fulcrum-sg",
Expand Down Expand Up @@ -752,17 +741,17 @@
# enable_on=(first_n_days_of_month(7) or last_n_days_of_month(7))
# and onlyat_hours(list(range(4, 12))),
# ),
Recipe(
recipe="wsj-paper",
slug="wsj-print",
src_ext="mobi",
target_ext=["epub"],
category="News",
tags=["business"],
timeout=300,
enable_on=onlyat_hours(list(range(0, 8)), -4),
cover_options=CoverOptions(
logo_path_or_url="https://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/WSJ_Logo.svg/1024px-WSJ_Logo.svg.png"
),
),
# Recipe(
# recipe="wsj-paper",
# slug="wsj-print",
# src_ext="mobi",
# target_ext=["epub"],
# category="News",
# tags=["business"],
# timeout=300,
# enable_on=onlyat_hours(list(range(0, 8)), -4),
# cover_options=CoverOptions(
# logo_path_or_url="https://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/WSJ_Logo.svg/1024px-WSJ_Logo.svg.png"
# ),
# ),
]
4 changes: 4 additions & 0 deletions recipes/ft-paper.recipe.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
"""
ft.com
"""
# ------------------------------
# 2023-09-05 No longer working
# ------------------------------

# Original from https://github.com/kovidgoyal/calibre/blob/902e80ec173bc40037efb164031043994044ec6c/recipes/financial_times_print_edition.recipe

import os
Expand Down

0 comments on commit ff3496c

Please sign in to comment.