Commit Graph

25 Commits

Author SHA1 Message Date
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 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 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 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 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 b1450ed2b7 begin the headers functions 2020-10-12 15:17:54 +02:00
Andreas Zweili 59ede0eccb parse the article before returning 2020-10-12 15:16:44 +02:00
Andreas Zweili 49d0407397 add a method to download an article 2020-10-12 14:49:46 +02:00
Andreas Zweili 5937b44f73 add the initial files for url2markdown 2020-10-12 14:11:55 +02:00