Example #1
0
	def _go(self):

		self.log.info("Checking Lm feeds for updates")
		fl = LmFeedLoader()
		fl.go()
		fl.closeDB()

		time.sleep(3)
		#print "wat", cl

		if not runStatus.run:
			return

		cl = LmContentLoader()

		if not runStatus.run:
			return

		todo = cl.retreiveTodoLinksFromDB()

		if not runStatus.run:
			return

		cl.processTodoLinks(todo)
		cl.closeDB()
Example #2
0
def test():

    loader = LmFeedLoader()
    # # loader.getSeriesUrls()
    # items = loader.getItemPages('http://lonemanga.com/manga/gun/')
    # print(items)
    loader.go()

    loader.closeDB()