Removing hardcoded urls
This commit is contained in:
parent
de70e3b474
commit
050861d536
|
@ -23,11 +23,6 @@ class Crawler:
|
||||||
source = self.__download_url__(self.base_url)
|
source = self.__download_url__(self.base_url)
|
||||||
article_urls = self.__extract_article_urls__(source)
|
article_urls = self.__extract_article_urls__(source)
|
||||||
|
|
||||||
article_urls.append(
|
|
||||||
'https://www.ka-news.de/region/karlsruhe/falschparker-werden-in-karlsruhe-ab-juli-frueher-abgeschleppt-art-2813321')
|
|
||||||
article_urls.append(
|
|
||||||
'https://www.ka-news.de/region/karlsruhe/musikalische-klaenge-in-der-karlsruher-innenstadt-karlsruhe-klingt-music-to-go-findet-zum-10-mal-statt-art-2813273')
|
|
||||||
|
|
||||||
articles = []
|
articles = []
|
||||||
|
|
||||||
for url in article_urls:
|
for url in article_urls:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user