diff --git a/lemonde.php b/lemonde.php index 3483bf3..aa9df19 100644 --- a/lemonde.php +++ b/lemonde.php @@ -4,14 +4,14 @@ format('Ymd'); - if (isset($_POST['url'])) - { - require('TPEpubCreator.php'); - $url = $_POST['url']; + // Le Monde + if (isset($_POST['lemonde']) && $_POST['lemonde']) + { + $url = $_POST['lmurl']; // extract url from curl command if (str_starts_with($url, 'curl ')) @@ -123,7 +123,8 @@ ?>