| @@ 25-34 (lines=10) @@ | ||
| 22 | ||
| 23 | class hu_avia(DataProvider): |
|
| 24 | ||
| 25 | def constains(self): |
|
| 26 | self.link = 'https://www.avia.hu/kapcsolat/toltoallomasok' |
|
| 27 | self.tags = {'brand': 'Avia', 'operator': 'AVIA Hungária Kft.', 'fuel:diesel': 'yes', |
|
| 28 | 'fuel:octane_95': 'yes', 'contact:email': '[email protected]', |
|
| 29 | 'contact:facebook': 'https://www.facebook.com/AVIAHungary', |
|
| 30 | 'contact:youtube': 'https://www.youtube.com/channel/UCjvjkjf2RgmKBuTnKSXk-Rg', } |
|
| 31 | self.tags.update(POS_HU_GEN) |
|
| 32 | self.tags.update(PAY_CASH) |
|
| 33 | self.filetype = FileType.html |
|
| 34 | self.filename = '{}.{}'.format( |
|
| 35 | self.__class__.__name__, self.filetype.name) |
|
| 36 | ||
| 37 | def types(self): |
|
| @@ 25-34 (lines=10) @@ | ||
| 22 | ||
| 23 | class hu_benu(DataProvider): |
|
| 24 | ||
| 25 | def constains(self): |
|
| 26 | self.link = 'https://benu.hu/wordpress-core/wp-admin/admin-ajax.php?action=asl_load_stores&nonce=1900018ba1&load_all=1&layout=1' |
|
| 27 | self.tags = {'brand': 'Benu gyógyszertár', 'dispensing': 'yes', |
|
| 28 | 'contact:facebook': 'https://www.facebook.com/BENUgyogyszertar', |
|
| 29 | 'contact:youtube': 'https://www.youtube.com/channel/UCBLjL10QMtRHdkak0h9exqg', |
|
| 30 | 'air_conditioning': 'yes', } |
|
| 31 | self.tags.update(POS_HU_GEN) |
|
| 32 | self.tags.update(PAY_CASH) |
|
| 33 | self.filetype = FileType.json |
|
| 34 | self.filename = '{}.{}'.format( |
|
| 35 | self.__class__.__name__, self.filetype.name) |
|
| 36 | ||
| 37 | def types(self): |
|