Module Import alias Import alias Import alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str ClassDef bases NameLoad body Assign NameStore Str Assign NameStore ListLoad Assign NameStore ListLoad Str FunctionDef arguments args NameParam NameParam defaults body If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore ListComp TupleLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str comprehension NameStore Call NameLoad NameLoad ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Str Dict Str Str For NameStore NameLoad body Print NameLoad Assign NameStore Call NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Num TryExcept body Expr Yield Call NameLoad SubscriptLoad NameLoad Index Num keyword AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Yield Call NameLoad BinOpAdd Str SubscriptLoad NameLoad Index Num keyword AttributeLoad NameLoad attr Expr Yield NameLoad orelse Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr Assign NameStore BinOpAdd BinOpAdd NameLoad Str NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad With Call NameLoad BinOpAdd NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A hashlib N/A json N/A os beautiful_soup BeautifulSoup bs scrapy.http Request scrapy.spider BaseSpider news.items NewsItem N/A PATH N/A N/A N/A os path abspath N/A N/A N/A os path join __file__ ../../../out/ HnspiderSpider N/A BaseSpider N/A N/A name hnspider N/A allowed_domains N/A N/A start_urls N/A http://news.ycombinator.com parse N/A N/A self response N/A N/A N/A N/A news.ycombinator.com N/A response url N/A N/A soup N/A bs N/A response body N/A items N/A N/A N/A N/A x N/A 0 text N/A N/A N/A x N/A 0 get href N/A x N/A filter None N/A N/A N/A x findChildren N/A x N/A N/A soup findAll td N/A class title N/A item items N/A N/A item N/A news_item N/A NewsItem N/A N/A news_item N/A title N/A item N/A 0 N/A N/A news_item N/A url N/A item N/A 1 N/A N/A N/A N/A N/A Request N/A item N/A 1 callback N/A self parse N/A N/A N/A ValueError N/A N/A N/A N/A Request N/A http://news.ycombinator.com/ N/A item N/A 1 callback N/A self parse N/A N/A news_item N/A N/A sha1_response N/A N/A N/A N/A hashlib sha1 N/A response url hexdigest N/A folder N/A N/A PATH / sha1_response N/A N/A N/A N/A N/A os path exists folder N/A N/A N/A N/A os makedirs folder N/A N/A open N/A folder /index.html w+ file_obj N/A N/A N/A N/A file_obj write N/A response body N/A N/A