Rev 189 | Blame | Compare with Previous | Last modification | View Log | RSS feed
(dp1S'spider2'p2ccopy_reg_reconstructorp3(ctwisted.pluginCachedDropinp4c__builtin__objectp5NtRp6(dp7S'moduleName'p8S'demo.spiders.spider2'p9sS'description'p10S'\nCreated on 27-May-2010\n\n@author: gaurav\n'p11sS'plugins'p12(lp13g3(ctwisted.pluginCachedPluginp14g5NtRp15(dp16S'provided'p17(lp18cscrapy.spider.modelsISpiderp19asS'dropin'p20g6sS'name'p21S'SPIDER'p22sg10S'\n Documentation for class naaptol_price\n Since the urls collected in the previous spider for naaptol.com\n are redirected to get the data for individual phones.\n Some are of the form "http://www.naaptol.com/features/10417-Fly-E300.html"\n while others are of the form "http://www.naaptol.com/price/10417-Fly-E300.html".\n So to make data extraction symmetric, this spider will accomplish 2 tasks\n First, for the urls conatining \'features\' it collects the information for the \n individual phones and store them in table datastore_datadefinition_naaptol_phones\n for the ones conatining \'prices\' in the url, a new url having \'price\' repalced \n with \'features\' is framed and stored in the table datastore_datadefinition_morenaaptol_urls.\n 'p23sbasbs.