Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(21)  |  Call(21)  |  Derive(0)  |  Import(0)
extract optional page paramter from term

src/b/a/baas-0.2.2/baas/plugins/gsearch.py   baas(Download)
 
        if term:
            (term, page) = self.extract_page_param(term)                            
            if term.find('#')+1:
                term, lang = term.split('#',1)
 
        if term:
            (term, page) = self.extract_page_param(term)                            
            if term.find('#')+1:
                term, lang = term.split('#',1)
        term = term.strip()
        if term:
            (term, page) = self.extract_page_param(term)                            
 
        query = 'site:metacritic.com intitle:reviews %s' % self._build_query_term(term)
 
        if term:
            (term, page) = self.extract_page_param(term)                            
            if term.find('#')+1:
                term, lang = term.split('#',1)
 
        if term:
            (term, page) = self.extract_page_param(term)                            
            if term.find('#')+1:
                term, lang = term.split('#',1)

src/b/a/baas-HEAD/baas/plugins/gsearch.py   baas(Download)
 
        if term:
            (term, page) = self.extract_page_param(term)                            
            if term.find('#')+1:
                term, lang = term.split('#',1)
 
        if term:
            (term, page) = self.extract_page_param(term)                            
            if term.find('#')+1:
                term, lang = term.split('#',1)
        term = term.strip()
        if term:
            (term, page) = self.extract_page_param(term)                            
 
        query = 'site:metacritic.com intitle:reviews %s' % self._build_query_term(term)
 
        if term:
            (term, page) = self.extract_page_param(term)                            
            if term.find('#')+1:
                term, lang = term.split('#',1)
 
        if term:
            (term, page) = self.extract_page_param(term)                            
            if term.find('#')+1:
                term, lang = term.split('#',1)

src/b/a/baas-0.2.2/baas/plugins/yql.py   baas(Download)
        page = 1
        if term:
            (term, page) = self.extract_page_param(term)                            
            if term.find('#')+1:
                term, lang = term.split('#',1)
        page = 1
        if term:
            (term, page) = self.extract_page_param(term)                            
            if term.find('#')+1:
                term, lang = term.split('#',1)
            return "Please specify your search term"
 
        (term, page) = self.extract_page_param(term) 
 
        yterm = 'intitle:"%s" site:blip.fm inurl:profile -intitle:"Props given" -intitle:"Favourite DJs" \

src/b/a/baas-0.2.2/baas/plugins/music.py   baas(Download)
        page = 1
        if term:
            (term, page) = self.extract_page_param(term)                            
            if term.find('#')+1:
                term, what = term.split('#',1)

src/b/a/baas-HEAD/baas/plugins/music.py   baas(Download)
        page = 1
        if term:
            (term, page) = self.extract_page_param(term)                            
            if term.find('#')+1:
                term, what = term.split('#',1)

src/b/a/baas-0.2.2/baas/plugins/maemo.py   baas(Download)
 
        if term:
            (term, page) = self.extract_page_param(term)                            
            if term.find('#')+1:
                term, what = term.split('#',1)

src/b/a/baas-HEAD/baas/plugins/yql.py   baas(Download)
        page = 1
        if term:
            (term, page) = self.extract_page_param(term)                            
            if term.find('#')+1:
                term, lang = term.split('#',1)

src/b/a/baas-HEAD/baas/plugins/maemo.py   baas(Download)
 
        if term:
            (term, page) = self.extract_page_param(term)                            
            if term.find('#')+1:
                term, what = term.split('#',1)