Exemplo n.º 1
0
 def __init__(self, url):
     BaseParser.__init__(self, url)
     self.pages = list()
     self.chapter = None
     self.parsed_chapter = list()
     self._parsing_pages = False
     self._parsing_metadata = False
Exemplo n.º 2
0
    def __init__(self, filepath):
        BaseParser.__init__(self, filepath)

        self._now = datetime.datetime.now()
        self._start = self._now.year - self.MAX_YEARS + 1

        self._data = {}
        for i in range(self.MAX_YEARS * 4):
            self._data[i] = None
        pass
Exemplo n.º 3
0
 def __init__(self, filepath):
     BaseParser.__init__(self, filepath)
     self.items = {}
Exemplo n.º 4
0
 def __init__(self, mother=None, father=None):
     BaseParser.__init__(self)
     if mother and father:
         self.crossover(mother, father)
     else:
         self.fitness = 0
Exemplo n.º 5
0
 def __init__(self, filepath):
     BaseParser.__init__(self, filepath)
     pass
Exemplo n.º 6
0
 def parse(self):
     BaseParser.parse(self)
     return (self.chapter, self.parsed_chapter)
Exemplo n.º 7
0
 def parse(self):
     BaseParser.parse(self)
     return self.parsed_manga
Exemplo n.º 8
0
 def __init__(self, url):
     BaseParser.__init__(self, url)
     self.parsed_manga = list()
     self._parsing_chapters = False
     self._parsing_metadata = False
     self._chapters = list()
Exemplo n.º 9
0
 def __init__(self, url, semaphore=None):
     BaseParser.__init__(self, url)
     Thread.__init__(self)
     self.image_url = None
     self._semaphore = semaphore
Exemplo n.º 10
0
 def __init__(self, mother=None, father=None):
     BaseParser.__init__(self)
     if mother and father:
         self.crossover(mother, father)
     else:
         self.fitness = 0
Exemplo n.º 11
0
 def __init__(self, filepath):
     BaseParser.__init__(self, filepath)
     self._map = {}
     pass