26 lines
433 B
Python
26 lines
433 B
Python
|
#!/usr/bin/env python
|
||
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
'''
|
||
|
|
||
|
A parser to get events of Bahn.de out of there Emails
|
||
|
|
||
|
'''
|
||
|
|
||
|
|
||
|
|
||
|
'''
|
||
|
A parser to get events of Bahn.de out of there Emails
|
||
|
'''
|
||
|
class Bahn:
|
||
|
|
||
|
'''
|
||
|
@param input must be string with html
|
||
|
@return all events as list
|
||
|
'''
|
||
|
@staticmethod
|
||
|
def getEvents(html):
|
||
|
#hier mit beautifulsoup events rausholen und in liste packen
|
||
|
events = []
|
||
|
return events
|