コード例 #1
0
    def __init__(self, *pargs, **kwargs):
        super(Mvblfeast, self).__init__(*pargs, **kwargs)

        self.maize_vendors = basic_tools.get_maize_vendors()

        self.fb_api_key = kwargs['fb_api_key']
        self.here_app_id = kwargs['here_app_id']
        self.here_app_code = kwargs['here_app_code']
コード例 #2
0
    def __init__(self, *args, **kwargs):
        super(TruckStopSf, self).__init__(*args, **kwargs)

        self.maize_vendors = basic_tools.get_maize_vendors()
        self.api_key = kwargs['fb_api_key']
コード例 #3
0
 def __init__(self, api_key):
     self.maize_vendors = basic_tools.get_maize_vendors()
     self.api_key = api_key
コード例 #4
0
 def __init__(self, api_key):
     self.maize_vendors = basic_tools.get_maize_vendors()
     self.api_key = api_key
コード例 #5
0
    def __init__(self, *pargs, **kwargs):
        scrapy.Spider.__init__(self, *pargs, **kwargs)

        self.maize_vendors = basic_tools.get_maize_vendors()
コード例 #6
0
    def __init__(self, *pargs, **kwargs):
        scrapy.Spider.__init__(self, *pargs, **kwargs)

        self.maize_vendors = basic_tools.get_maize_vendors()
コード例 #7
0
    def __init__(self, *pargs, **kwargs):
        self.maize_vendors = basic_tools.get_maize_vendors()

        self.fb_api_key = kwargs['fb_api_key']
        self.here_app_id = kwargs['here_app_id']
        self.here_app_code = kwargs['here_app_code']
コード例 #8
0
    def start_requests(self):
        self.maize_vendors = basic_tools.get_maize_vendors()
        self.api_key = self.settings.get("FB_API_KEY")

        return [Request(self.api_url.format(self.api_key),
                callback=self.parse)]