Module Import alias Import alias ImportFrom alias Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Dict Str Str NameLoad Dict Str Str Str Str Str NameLoad Str NameLoad NameLoad Dict Str NameLoad Print Str Assign NameStore Str Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad Assign NameStore Dict Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpMod NameLoad Str keyword NameLoad keyword Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Print Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Dict For NameStore SubscriptLoad NameLoad Slice Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Print BinOpMod Str NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod NameLoad Str keyword NameLoad keyword Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num attr Print Str With Call NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad
N/A N/A requests N/A json lxml html N/A api_key 34ed16e6b5f645c5a3cba39c75ee80b2 N/A url_template https://api.engine.priceonomics.com/v1/apps/%s N/A session_cookie _FoundersCard_session=BLAHBLAHBLAH N/A input_fetch N/A async data False N/A url country user_agent obey_robots headers None US True False N/A Cookie session_cookie N/A Fetching travel benefit providers for FoundersCard.com ... N/A travel_benefits_link https://founderscard.com/browse_by_category/Travel?sort=Popular N/A N/A N/A input_fetch N/A data N/A url travel_benefits_link N/A headers N/A X-Access-Key api_key N/A r N/A N/A requests post N/A url_template fetch headers headers data N/A N/A json dumps input_fetch N/A output_full N/A N/A r json N/A html_content N/A N/A output_full N/A data N/A content N/A tree N/A N/A html fromstring N/A N/A html_content encode utf-8 N/A N/A N/A tree make_links_absolute travel_benefits_link N/A Done. N/A benefit_links N/A N/A tree xpath //a[contains(@class, "title")] N/A benefits N/A N/A link N/A benefit_links N/A 3 N/A N/A benefit_name N/A N/A N/A link text strip N/A N/A Fetching benefits for "%s" ... benefit_name N/A N/A N/A input_fetch N/A data N/A url N/A N/A link get href N/A r N/A N/A requests post N/A url_template fetch headers headers data N/A N/A json dumps input_fetch N/A output_full N/A N/A r json N/A html_content N/A N/A output_full N/A data N/A content N/A tree N/A N/A html fromstring N/A N/A html_content encode utf-8 N/A N/A N/A tree make_links_absolute travel_benefits_link N/A N/A benefits N/A benefit_name N/A N/A N/A N/A N/A tree xpath //div[contains(@id, "how_to_redeem")] N/A 0 text_content N/A Done. N/A N/A open benefits.json w f N/A N/A N/A N/A f write N/A N/A json dumps benefits