Commit bf114340 authored by Daniel Niecke's avatar Daniel Niecke

change some bugs

parent c9e971e6
......@@ -36,6 +36,8 @@ COPY /pw /pw
RUN chmod 666 /pw
RUN chmod 777 /var/www
EXPOSE 80
EXPOSE 443
CMD /usr/sbin/apache2ctl -D FOREGROUND
......
......@@ -4,4 +4,5 @@ xhtml2pdf
requests
beautifulsoup4
Flask-WTF
lxml
\ No newline at end of file
lxml
newspaper3k
......@@ -9,8 +9,8 @@ import string
import requests
from bs4 import BeautifulSoup
import re
from send_to_kindle import send_to_kindle
from generate_pdf import generate_pdf
from server.send_to_kindle import send_to_kindle
from server.generate_pdf import generate_pdf
import os
from newspaper import Article, fulltext
......@@ -48,4 +48,4 @@ if __name__ == '__main__':
#with open('input.txt') as input_file:
# for line in input_file:
# process_one_url(line)
process_one_url('https://www.computerwoche.de/a/koennen-sie-software-defined-vehicle,3545653')
\ No newline at end of file
process_one_url('https://www.computerwoche.de/a/koennen-sie-software-defined-vehicle,3545653')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment