Skip to content

Commit

Permalink
Update scraper.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
BfB-Schenefeld committed May 5, 2024
1 parent c798ae5 commit 778f11f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scraper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,10 @@ def scrape_calendar_data(year, month)
if vorlagen_data
vorlagen_detail = {
'top_detail_id' => top_detail_id,
'vorlagenbezeichnung' => vorlagen_data['vorlagenbezeichnung'] || '',
'vorlagenprotokolltext' => vorlagen_data['vorlagenprotokolltext'] || '',
'vorlagen_pdf_url' => vorlagen_data['vorlagen_pdf_url'] || '',
'sammel_pdf_url' => vorlagen_data['sammel_pdf_url'] || ''
'vorlagenbezeichnung' => vorlagen_data['vorlagenbezeichnung'],
'vorlagenprotokolltext' => vorlagen_data['vorlagenprotokolltext'],
'vorlagen_pdf_url' => vorlagen_data['vorlagen_pdf_url'],
'sammel_pdf_url' => vorlagen_data['sammel_pdf_url']
}
ScraperWiki.sqliteexecute("INSERT INTO vorlagen_details (top_detail_id, vorlagenbezeichnung, vorlagenprotokolltext, vorlagen_pdf_url, sammel_pdf_url) VALUES (?, ?, ?, ?, ?)", vorlagen_detail.values_at('top_detail_id', 'vorlagenbezeichnung', 'vorlagenprotokolltext', 'vorlagen_pdf_url', 'sammel_pdf_url'))
end
Expand Down

0 comments on commit 778f11f

Please sign in to comment.