Commit Graph

54 Commits

Author SHA1 Message Date
Andreas Zweili ba5f5a9b7b update path again 2020-11-11 19:51:55 +01:00
Andreas Zweili 0014b59460 add pyinstaller as a dependency 2020-11-11 08:02:05 +01:00
Andreas Zweili 371a0c13a5 correct the file path 2020-11-11 08:01:46 +01:00
Andreas Zweili c6c9d6a415 remove special characters from the titles 2020-11-09 12:43:52 +01:00
Andreas Zweili 1d7f12b370 update the path for the final files 2020-11-09 12:32:32 +01:00
Andreas Zweili 317668277f ignore empty lines 2020-11-09 12:31:48 +01:00
Andreas Zweili ebb656721f add two more test URLs 2020-11-09 12:31:38 +01:00
Andreas Zweili 67136a3020 update test URL 2020-11-09 12:14:47 +01:00
Andreas Zweili dc465a443e correct the example command 2020-10-13 23:49:12 +02:00
Andreas Zweili 32e2ca82e6 add reference to the newspaper documentation 2020-10-13 23:22:00 +02:00
Andreas Zweili 026de5fa71 update the README to reflect the early stages 2020-10-13 23:20:27 +02:00
Andreas Zweili 33eddf37a3 correct a command name 2020-10-13 23:17:23 +02:00
Andreas Zweili 60a34d2ef5 store the files in a provided folder 2020-10-13 23:11:47 +02:00
Andreas Zweili 26119705a6 remove whitespace and newline characters 2020-10-13 22:54:06 +02:00
Andreas Zweili 89806e0be2 move the main decision tree to __main__ 2020-10-13 22:47:11 +02:00
Andreas Zweili 5f0de1e8e2 add a test file 2020-10-13 22:46:33 +02:00
Andreas Zweili 68782d1d22 put the URL and file command in a mutual exclusive group 2020-10-13 22:15:49 +02:00
Andreas Zweili f2a13861f8 extend the helptext for topics 2020-10-13 22:15:35 +02:00
Andreas Zweili 68389492cd extend the README 2020-10-13 22:15:06 +02:00
Andreas Zweili 251cab1ebb update the readme 2020-10-13 21:30:46 +02:00
Andreas Zweili 9f69b4d2dc split the requirements into multiple files 2020-10-13 21:28:08 +02:00
Andreas Zweili de3c6eb44f append the article content after the header 2020-10-13 21:18:22 +02:00
Andreas Zweili ceb449e477 add a line between the header and the content 2020-10-13 21:18:04 +02:00
Andreas Zweili 5a6d0cefac overwrite the file if it already exists 2020-10-13 21:17:31 +02:00
Andreas Zweili 9b9aff2769 use ATX style headers in markdown 2020-10-13 21:17:05 +02:00
Andreas Zweili 1bb504d5b6 move the markdown.py file to __main__.py 2020-10-13 21:13:49 +02:00
Andreas Zweili ac1d5f8a2b update the test command 2020-10-13 21:13:37 +02:00
Andreas Zweili 20f2802ce9 add pytest-cov 2020-10-13 21:13:25 +02:00
Andreas Zweili e21470a669 update the build command 2020-10-13 21:13:01 +02:00
Andreas Zweili 863cabef14 ignore all markdown files 2020-10-13 20:51:32 +02:00
Andreas Zweili 62a500e4e2 start to complete the main function 2020-10-12 22:26:21 +02:00
Andreas Zweili be2cc4fbc6 add a function to create a file 2020-10-12 22:25:47 +02:00
Andreas Zweili e562dc61d0 add the cli functionality 2020-10-12 22:25:36 +02:00
Andreas Zweili ce90dce9b6 split the input topics into a list 2020-10-12 22:25:13 +02:00
Andreas Zweili aef724aa43 rewrite the header functions into a class 2020-10-12 22:09:47 +02:00
Andreas Zweili e088d91fda extend the header 2020-10-12 21:49:18 +02:00
Andreas Zweili ccda71858e add function to create the header 2020-10-12 16:04:22 +02:00
Andreas Zweili 1b1cc27c27 finish test for undefined header topics 2020-10-12 15:19:57 +02:00
Andreas Zweili b1450ed2b7 begin the headers functions 2020-10-12 15:17:54 +02:00
Andreas Zweili 1a2b036fa5 add tests for the headers functions 2020-10-12 15:17:43 +02:00
Andreas Zweili 18f9a8b0af use a newsarticle for tests 2020-10-12 15:17:21 +02:00
Andreas Zweili 506297be6b remove some tests 2020-10-12 15:17:05 +02:00
Andreas Zweili 59ede0eccb parse the article before returning 2020-10-12 15:16:44 +02:00
Andreas Zweili e214d7ece5 add fixture for an article 2020-10-12 15:16:18 +02:00
Andreas Zweili 49d0407397 add a method to download an article 2020-10-12 14:49:46 +02:00
Andreas Zweili 529c9a6fba update the Makefile 2020-10-12 14:48:08 +02:00
Andreas Zweili f61f1e080c add a README 2020-10-12 14:23:23 +02:00
Andreas Zweili 5937b44f73 add the initial files for url2markdown 2020-10-12 14:11:55 +02:00
Andreas Zweili 2a7337b448 add initial tests 2020-10-12 14:11:33 +02:00
Andreas Zweili 53f4fec2a1 add setup.py 2020-10-12 14:10:49 +02:00