async def get_media(self, titles, *args, **kwargs): query_des = kw.QueryDesigner() query = await query_des.get_media(titles, *args, **kwargs) try: data = await self._fetch(query) except: print('======get_media') return data
async def opensearch(self, search, *args, **kwargs): query_des = kw.QueryDesigner() query = await query_des.opensearch(search, *args, **kwargs) try: data = await self._fetch(query) except: print('======opensearch') return data
async def get_html(self, page, clear=True, *args, **kwargs): query_des = kw.QueryDesigner() query = await query_des.get_html(page, *args, **kwargs) try: data = await self._fetch(query) except: print('======get_html') return data
async def get_extracts(self, titles, *args, **kwargs): query_des = kw.QueryDesigner() try: query = await query_des.get_extracts(titles, *args, **kwargs) except: print('======get_extracts') data = await self._fetch(query) return data
async def get_urls(self, gapfrom, *args, **kwargs): query_des = kw.QueryDesigner() query = await query_des.get_urls(gapfrom, *args, **kwargs) print(query) try: data = await self._fetch(query) except: print('======get_urls') return data