Code Duplication    Length = 10-10 lines in 2 locations

osm_poi_matchmaker/dataproviders/hu_avia.py 1 location

@@ 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):

osm_poi_matchmaker/dataproviders/hu_benu.py 1 location

@@ 24-33 (lines=10) @@
21
22
class hu_benu(DataProvider):
23
24
    def constains(self):
25
        self.link = 'https://benu.hu/wordpress-core/wp-admin/admin-ajax.php?action=asl_load_stores&nonce=1900018ba1&load_all=1&layout=1'
26
        self.tags = {'brand': 'Benu gyógyszertár', 'dispensing': 'yes',
27
                     'contact:facebook': 'https://www.facebook.com/BENUgyogyszertar',
28
                     'contact:youtube': 'https://www.youtube.com/channel/UCBLjL10QMtRHdkak0h9exqg',
29
                     'air_conditioning': 'yes', }
30
        self.tags.update(POS_HU_GEN)
31
        self.tags.update(PAY_CASH)
32
        self.filetype = FileType.json
33
        self.filename = '{}.{}'.format(
34
            self.__class__.__name__, self.filetype.name)
35
36
    def types(self):