def updateResults(self, forward=None):
<EOL>files = lambda x: {<EOL>i['<STR_LIT>']['<STR_LIT:title>'].replace('<STR_LIT:/>', '<STR_LIT:\\>'): YTStor(<EOL>{'<STR_LIT>': i['<STR_LIT:id>']['<STR_LIT>'], '<STR_LIT>': i['<STR_LIT>']['<STR_LIT>']},<EOL>opts=self.yts_opts) for i in x['<STR_LIT>']<EOL>}<EOL>descs = lambda x: {<EOL>(i['<STR_LIT>']['<STR_LIT:title>'].replace('<STR_LIT:/>', '<STR_LIT:\\>') + '<STR_LIT>'): YTMetaStor(<EOL>{<EOL>'<STR_LIT:title>': i['<STR_LIT>']['<STR_LIT:title>'],<EOL>'<STR_LIT>': i['<STR_LIT:id>']['<STR_LIT>'],<EOL>'<STR_LIT>': i['<STR_LIT>']['<STR_LIT:description>'],<EOL>'<STR_LIT>': i['<STR_LIT>']['<STR_LIT>'],<EOL>'<STR_LIT>': i['<STR_LIT>']['<STR_LIT>']<EOL>},<EOL>opts=dict()<EOL>) for i in x['<STR_LIT>']<EOL>}<EOL>thumbs = lambda x: {<EOL>(i['<STR_LIT>']['<STR_LIT:title>'].replace('<STR_LIT:/>', '<STR_LIT:\\>') + '<STR_LIT>'): YTMetaStor(<EOL>{'<STR_LIT:url>': i['<STR_LIT>']['<STR_LIT>']['<STR_LIT>']['<STR_LIT:url>'], '<STR_LIT>': i['<STR_LIT>']['<STR_LIT>']}, opts=dict()<EOL>) for i in x['<STR_LIT>']<EOL>}<EOL>try:<EOL><INDENT>if self.adj_tokens[forward] is None: <EOL><INDENT>forward = None<EOL><DEDENT><DEDENT>except KeyError:<EOL><INDENT>pass<EOL><DEDENT>recv = None<EOL>try:<EOL><INDENT>try:<EOL><INDENT>data = self.avail_files[ self.adj_tokens[forward] ] <EOL><DEDENT>except KeyError:<EOL><INDENT>recv = self.__search( self.adj_tokens[forward] ) <EOL><DEDENT><DEDENT>except KeyError: <EOL><INDENT>if forward is None:<EOL><INDENT>recv = self.__search()<EOL><DEDENT>else:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT><DEDENT>if recv is not None:<EOL><INDENT>_d = files(recv)<EOL>if self.preferences['<STR_LIT>']['<STR_LIT>']: _d.update(descs(recv))<EOL>if self.preferences['<STR_LIT>']['<STR_LIT>']: _d.update(thumbs(recv))<EOL>data = (None, _d) <EOL><DEDENT>if len(self.avail_files) > <NUM_LIT:4>:<EOL><INDENT>pop = self.avail_files.popitem(False) <EOL>for s in pop[<NUM_LIT:1>][<NUM_LIT:1>].values(): s.clean()<EOL><DEDENT>adj_t = deepcopy(self.adj_tokens) <EOL>if data[<NUM_LIT:0>] is None: <EOL><INDENT>try:<EOL><INDENT>self.adj_tokens[False] = recv['<STR_LIT>']<EOL><DEDENT>except KeyError:<EOL><INDENT>self.adj_tokens[False] = None<EOL><DEDENT>try:<EOL><INDENT>self.adj_tokens[True] = recv['<STR_LIT>']<EOL><DEDENT>except KeyError:<EOL><INDENT>self.adj_tokens[True] = None<EOL><DEDENT><DEDENT>else: <EOL><INDENT>self.adj_tokens = data[<NUM_LIT:0>]<EOL><DEDENT>if forward is not None:<EOL><INDENT>self.avail_files[ self.adj_tokens[not forward] ] = (adj_t, self.visible_files)<EOL><DEDENT>self.visible_files = data[<NUM_LIT:1>]<EOL>
Reload search results or load another "page".

Parameters
----------
forward : bool or None, optional
    Whether move forwards or backwards (``True`` or ``False``). If ``None``, then first page is loaded.