geplante sendungen skippen
This commit is contained in:
parent
4d29621c60
commit
57a497714d
1 changed files with 3 additions and 0 deletions
|
@ -30,6 +30,9 @@ termine = []
|
|||
template = "Vorlage:Radio Chaotica-Sendung"
|
||||
@wiki.article(template).what_links_here.each do |page|
|
||||
if erste_sendung = parse_template(page, template)["erste_sendung"]
|
||||
|
||||
next if erste_sendung =~ /^\s*$/;
|
||||
|
||||
termin = {}
|
||||
termin["datum"] = erste_sendung.gsub(/\s*um\s*\d+:\d+$/,"")
|
||||
termin["uhrzeit"] = "16:00"
|
||||
|
|
Reference in a new issue