mirror of
https://github.com/heyarne/berliner-winter.git
synced 2026-05-06 19:23:39 +02:00
renamed article attributes according to database fields
This commit is contained in:
parent
9ae38d3279
commit
c872c8e39d
1 changed files with 2 additions and 2 deletions
|
|
@ -42,8 +42,8 @@ class Scraper():
|
||||||
article = {
|
article = {
|
||||||
'date': date.strip(),
|
'date': date.strip(),
|
||||||
'place': district,
|
'place': district,
|
||||||
'additional': additional,
|
'additional_place': additional,
|
||||||
'text': text.strip()
|
'description': text.strip()
|
||||||
}
|
}
|
||||||
articles.append(article)
|
articles.append(article)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue