Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias identifier Import alias Import alias Import alias Import alias Import alias Import alias FunctionDef arguments args defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad If BoolOpAnd AttributeLoad NameLoad attr CompareGt Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Slice AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr Call NameLoad NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad Num Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Return AugAssignAdd SubscriptStore NameLoad Index Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr Call NameLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr SubscriptLoad NameLoad Index Num Call AttributeLoad Str attr NameLoad Call AttributeLoad Str attr Call NameLoad NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr Lambda arguments args defaults Call NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr ListComp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore ListComp NameLoad comprehension NameStore NameLoad BoolOpAnd Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareIs NameLoad NameLoad body Return AugAssignSub SubscriptStore NameLoad Index Num Num Assign NameStore Call NameLoad GeneratorExp Call NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr NameLoad Call AttributeLoad Str attr SubscriptLoad NameLoad Index Num decorator_list Assign NameStore Dict Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Lambda arguments args defaults Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Num For NameStore NameLoad body If UnaryOpNot NameLoad body Continue For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body AugAssignAdd NameStore Call NameLoad NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad ListLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr NameLoad Call AttributeLoad Str attr Call NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list Expr Call NameLoad Call AttributeLoad NameLoad attr Str Expr Call NameLoad Call AttributeLoad NameLoad attr Str Expr Call NameLoad ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Str Expr Call NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Expr Call NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad decorator_list Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad For NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr body If CompareNotIn AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Expr Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Expr Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Expr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Dict Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad GeneratorExp Call AttributeLoad AttributeLoad NameLoad attr attr comprehension NameStore NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad SubscriptLoad NameLoad Index Str Slice Num keyword Call NameLoad SubscriptLoad NameLoad Index Str decorator_list With Call NameLoad NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If BoolOpOr UnaryOpNot Call AttributeLoad NameLoad attr BinOpMod Str NameLoad CompareIn Str NameLoad CompareIn Str NameLoad body Continue If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad Str attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListComp Call NameLoad NameLoad comprehension NameStore NameLoad orelse Assign NameStore ListLoad Assign NameStore Num Assign NameStore SubscriptLoad NameLoad Index NameLoad For NameStore NameLoad body If CompareEq SubscriptLoad NameLoad Index Str Str body Continue If CompareNotIn SubscriptLoad SubscriptLoad NameLoad Index Str Slice Num NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad orelse AugAssignAdd NameStore Num If NameLoad body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore ListLoad Num FunctionDef arguments args NameParam NameParam defaults body If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Return AugAssignAdd SubscriptStore NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad BinOpSub Call NameLoad NameLoad SubscriptLoad NameLoad Index Num decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Lambda arguments args defaults Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword NameLoad If AttributeLoad NameLoad attr body Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad ListComp NameLoad comprehension NameStore NameLoad CompareIsNot NameLoad NameLoad Assign NameStore Call NameLoad Assign NameStore Num For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad body If UnaryOpNot NameLoad body Continue Expr Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad AugAssignAdd NameStore Call NameLoad NameLoad If CompareEq NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad Assign NameStore BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return TupleLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad ListLoad attr NameLoad Assign NameStore ListLoad Assign NameStore ListLoad NameLoad For NameStore Call AttributeLoad NameLoad attr body If CompareGt BinOpAdd Call NameLoad NameLoad Call NameLoad NameLoad NameLoad body Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Num FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr While NameLoad body TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If BoolOpAnd CompareEq AttributeLoad NameLoad attr Num CompareIn Str Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad orelse Raise Expr Call AttributeLoad NameLoad attr NameLoad If CompareGtE Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad AugAssignAdd NameStore AttributeLoad NameLoad attr If BoolOpOr UnaryOpNot NameLoad BoolOpAnd AttributeLoad NameLoad attr CompareGtE Call NameLoad NameLoad AttributeLoad NameLoad attr body Break Return NameLoad decorator_list decorator_list ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot NameLoad body Return Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Return ListLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args NameParam defaults NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword IfExp NameLoad Str Str keyword NameLoad Return NameLoad decorator_list TryExcept body TryExcept body Return Call NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareEq AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Return Call NameLoad keyword NameLoad orelse Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Call AttributeLoad Str attr ListComp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad Call AttributeLoad NameLoad attr Return NameLoad ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Return Call NameLoad keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If BoolOpAnd CompareEq AttributeLoad NameLoad attr Num CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Call AttributeLoad Str attr ListComp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad IfExp CompareNotEq AttributeLoad NameLoad attr Num BinOpMod Str Call AttributeLoad NameLoad attr Str Return NameLoad ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr ListComp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad BinOpDiv Call NameLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad Slice Num NameLoad Assign NameStore SubscriptLoad NameLoad Slice NameLoad Assign NameStore Dict If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad ListLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad keyword NameLoad keyword Str decorator_list decorator_list ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Assign NameStore NameLoad While NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Break Return NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A argparse N/A itertools N/A json N/A logging N/A os.path N/A urllib N/A urllib2 N/A sys N/A xml.etree.cElementTree ET N/A base.api N/A base.atom N/A base.log N/A base.tag_helper N/A base.url_fetcher N/A base.worker main N/A N/A N/A N/A N/A N/A N/A N/A base log init N/A N/A N/A N/A base atom init N/A parser N/A N/A argparse ArgumentParser description Comprehensive archive of a Google Reader account N/A N/A N/A parser add_argument --use_client_login action store_true help Instead of OAuth, use ClientLogin for authentication. You will be prompted for a username and password N/A N/A N/A parser add_argument --oauth_refresh_token default help A previously obtained refresh token (used to bypass OAuth setup N/A N/A N/A parser add_argument --account default help Google Account to save the archive for. Omit to specify via standard input N/A N/A N/A parser add_argument --password default help Password for the account. Omit to specify via standard input N/A N/A N/A parser add_argument --output_directory default ./ help Directory where to place archive data. N/A N/A N/A parser add_argument --stream_items_chunk_size type int default 10000 help Number of items refs to request per stream items API call (higher is more efficient) N/A N/A N/A parser add_argument --max_items_per_stream type int default 0 help If non-zero, will cap the number of items that are fetched per feed or tag N/A N/A N/A parser add_argument --item_bodies_chunk_size type int default 250 help Number of items refs per request for fetching their bodies (higher is more efficient) N/A N/A N/A parser add_argument --comments_chunk_size type int default 250 help Number of items per request for fetching comments on shared items (higher is more efficient) N/A N/A N/A parser add_argument --max_streams type int default 0 help Maxmium number of streams to archive (0 for nolimit, only mean to be used for development) N/A N/A N/A parser add_argument --parallelism type int default 10 help Number of requests to make in parallel. N/A N/A N/A parser add_argument --http_retry_count type int default 1 help Number of retries to make in the case of HTTP request errors. N/A N/A N/A parser add_argument --additional_item_refs_file_path default help Path to JSON file listing additional tag item refs to fetch N/A args N/A N/A parser parse_args N/A output_directory N/A N/A N/A base paths normalize N/A args output_directory N/A N/A N/A N/A base paths ensure_exists output_directory output_sub_directory N/A N/A name N/A N/A N/A directory_path N/A N/A N/A os path join output_directory name N/A N/A N/A N/A base paths ensure_exists directory_path N/A directory_path N/A N/A api_responses_directory N/A output_sub_directory _raw_data N/A streams_directory N/A output_sub_directory streams N/A data_directory N/A output_sub_directory data N/A items_directory N/A output_sub_directory items N/A comments_directory N/A output_sub_directory comments N/A N/A args use_client_login N/A N/A authenticated_url_fetcher N/A N/A N/A base url_fetcher ClientLoginUrlFetcher N/A args account N/A args password N/A N/A authenticated_url_fetcher N/A N/A N/A base url_fetcher OAuthUrlFetcher N/A args oauth_refresh_token N/A api N/A N/A N/A base api Api authenticated_url_fetcher authenticated_url_fetcher http_retry_count N/A args http_retry_count cache_directory api_responses_directory N/A user_info N/A N/A api fetch_user_info N/A N/A N/A logging info Created API instance for %s (%s) N/A user_info user_id N/A user_info email N/A N/A N/A logging info Saving preferences N/A N/A _save_preferences api data_directory N/A N/A N/A logging info Gathering streams to fetch N/A stream_ids N/A _get_stream_ids api N/A user_info user_id data_directory N/A N/A N/A args max_streams N/A N/A len stream_ids N/A args max_streams N/A N/A stream_ids N/A stream_ids N/A N/A args max_streams N/A N/A N/A logging info %d streams to fetch, gathering item refs: N/A len stream_ids N/A N/A item_ids item_refs_total N/A _fetch_and_save_item_refs stream_ids api args streams_directory N/A user_info user_id N/A N/A N/A logging info %s unique items refs (%s total), grouping by chunk. N/A N/A {:,} format N/A len item_ids N/A N/A {:,} format item_refs_total N/A N/A N/A logging info Grouped item refs, getting item bodies: N/A item_ids_chunks N/A _chunk_item_ids item_ids N/A args item_bodies_chunk_size N/A item_bodies_to_fetch N/A len item_ids N/A fetched_item_bodies N/A 0 N/A missing_item_bodies N/A set report_item_bodies_progress N/A N/A requested_item_ids found_item_ids N/A N/A N/A N/A found_item_ids None N/A N/A N/A N/A missing_item_bodies update N/A N/A N/A set requested_item_ids difference N/A N/A base api not_found_items_ids_to_ignore N/A N/A N/A fetched_item_bodies N/A 0 N/A len found_item_ids N/A N/A N/A missing_item_bodies update N/A N/A N/A N/A N/A set requested_item_ids difference N/A set found_item_ids difference N/A N/A base api not_found_items_ids_to_ignore N/A N/A N/A logging info   Fetched %s/%s item bodies (%s could not be loaded) N/A N/A {:,} format N/A fetched_item_bodies N/A 0 N/A N/A {:,} format item_bodies_to_fetch N/A N/A {:,} format N/A len missing_item_bodies N/A N/A N/A N/A N/A base worker do_work N/A N/A N/A N/A N/A FetchWriteItemBodiesWorker api items_directory item_ids_chunks N/A args parallelism report_progress report_item_bodies_progress N/A missing_item_bodies N/A N/A N/A N/A logging warn Item bodies could not be loaded for: %s N/A N/A ,  join N/A N/A N/A i compact_form N/A i missing_item_bodies N/A broadcast_stream_ids N/A stream_id N/A stream_id stream_ids N/A N/A N/A stream_id startswith user/ N/A N/A stream_id endswith /state/com.google/broadcast N/A N/A N/A logging info Fetching comments from %d shared item streams. N/A len broadcast_stream_ids N/A encoded_sharers N/A N/A api fetch_encoded_sharers N/A remaining_broadcast_stream_ids N/A N/A len broadcast_stream_ids report_comments_progress N/A N/A _ comments_by_item_id N/A N/A N/A N/A comments_by_item_id None N/A N/A N/A N/A remaining_broadcast_stream_ids N/A 0 1 N/A comment_count N/A sum N/A N/A len c N/A c N/A N/A comments_by_item_id values 0 N/A N/A N/A logging info   Fetched %s comments, %s shared items streams left. N/A N/A {:,} format comment_count N/A N/A {:,} format N/A remaining_broadcast_stream_ids N/A 0 N/A N/A all_comments N/A N/A comments_for_broadcast_streams N/A N/A N/A base worker do_work N/A N/A N/A N/A N/A FetchCommentsWorker api encoded_sharers N/A args comments_chunk_size broadcast_stream_ids N/A args parallelism report_progress report_comments_progress N/A total_comment_count 0 N/A comments_for_broadcast_stream comments_for_broadcast_streams N/A N/A N/A comments_for_broadcast_stream N/A N/A N/A N/A item_id comments N/A N/A comments_for_broadcast_stream iteritems N/A N/A total_comment_count N/A len comments N/A N/A N/A N/A N/A all_comments setdefault item_id N/A extend comments N/A N/A N/A logging info Writing %s comments from %s items. N/A N/A {:,} format total_comment_count N/A N/A {:,} format N/A len all_comments N/A N/A item_id comments N/A N/A all_comments items N/A N/A item_comments_file_path N/A N/A N/A os path join N/A N/A N/A base paths item_id_to_file_path comments_directory item_id N/A N/A item_id compact_form N/A N/A N/A N/A base paths ensure_exists N/A N/A N/A os path dirname item_comments_file_path N/A N/A open item_comments_file_path w item_comments_file N/A N/A N/A N/A item_comments_file write N/A N/A json dumps N/A N/A N/A c to_json N/A c comments N/A N/A open N/A N/A N/A os path join output_directory README w readme_file N/A N/A N/A N/A readme_file write See https://github.com/mihaip/readerisdead/wiki/reader_archive-Format.
 N/A _save_preferences N/A N/A api data_directory N/A N/A save N/A N/A preferences_json file_name N/A N/A N/A file_path N/A N/A N/A os path join data_directory file_name N/A N/A open file_path w file N/A N/A N/A N/A file write N/A N/A json dumps preferences_json N/A N/A N/A save N/A N/A api fetch_preferences preferences.json N/A N/A save N/A N/A api fetch_stream_preferences stream-preferences.json N/A N/A save N/A N/A N/A g to_json N/A g N/A N/A api fetch_sharing_groups sharing-groups.json N/A N/A save N/A N/A N/A N/A api fetch_sharing_acl to_json sharing-acl.json N/A N/A save N/A N/A N/A N/A api fetch_user_info to_json user-info.json N/A _get_stream_ids N/A N/A api user_id data_directory N/A N/A save_items N/A N/A items file_name N/A N/A N/A file_path N/A N/A N/A os path join data_directory file_name N/A N/A open file_path w file N/A N/A N/A N/A file write N/A N/A json dumps N/A N/A N/A i to_json N/A i items N/A N/A stream_ids N/A set N/A tags N/A N/A api fetch_tags N/A tag_stream_ids N/A set N/A N/A t stream_id N/A t tags N/A system_tag N/A N/A N/A N/A N/A base tag_helper TagHelper user_id system_tags N/A N/A N/A N/A system_tag stream_id tag_stream_ids N/A N/A N/A N/A tags append system_tag N/A N/A N/A tag_stream_ids add N/A system_tag stream_id N/A N/A N/A stream_ids update N/A N/A tag stream_id N/A tag tags N/A N/A save_items tags tags.json N/A subscriptions N/A N/A api fetch_subscriptions N/A N/A N/A stream_ids update N/A N/A sub stream_id N/A sub subscriptions N/A N/A save_items subscriptions subscriptions.json N/A friends N/A N/A api fetch_friends N/A N/A N/A stream_ids update N/A N/A f stream_id N/A f friends N/A N/A f stream_id N/A f is_following N/A N/A save_items friends friends.json N/A bundles N/A N/A api fetch_bundles N/A bundle bundles N/A N/A N/A N/A stream_ids update N/A N/A f stream_id N/A f N/A bundle feeds N/A N/A save_items bundles bundles.json N/A recommendations N/A N/A api fetch_recommendations N/A N/A N/A stream_ids update N/A N/A r stream_id N/A r recommendations N/A N/A save_items recommendations recommendations.json N/A N/A N/A stream_ids add N/A N/A base api EXPLORE_STREAM_ID N/A stream_ids N/A list stream_ids N/A N/A N/A stream_ids sort reverse True N/A stream_ids N/A _load_additional_item_refs N/A N/A additional_item_refs_file_path stream_ids item_refs_responses user_id N/A N/A N/A N/A N/A logging info Adding additional item refs. N/A compact_item_ids_by_stream_id N/A N/A item_refs_responses_by_stream_id N/A N/A N/A stream_id item_refs N/A N/A itertools izip stream_ids item_refs_responses N/A N/A N/A compact_item_ids_by_stream_id N/A stream_id N/A set N/A N/A N/A N/A item_ref item_id compact_form N/A item_ref item_refs N/A N/A item_refs_responses_by_stream_id N/A stream_id item_refs item_ref_from_json N/A N/A item_ref_json N/A N/A N/A N/A N/A N/A base api ItemRef item_id N/A N/A N/A base api item_id_from_compact_form N/A N/A item_ref_json N/A id N/A 2 timestamp_usec N/A int N/A item_ref_json N/A timestampUsec N/A N/A N/A open additional_item_refs_file_path additional_item_refs_file N/A N/A additional_item_refs N/A N/A json load additional_item_refs_file N/A N/A stream_id item_refs_json N/A N/A additional_item_refs iteritems N/A N/A N/A N/A N/A N/A stream_id startswith N/A user/%s/ user_id N/A state/com.google/touch stream_id N/A state/com.google/recommendations- stream_id N/A N/A N/A N/A stream_id item_refs_responses_by_stream_id N/A N/A N/A N/A logging info   Stream %s (%s items) is new. stream_id N/A N/A {:,} format N/A len item_refs_json N/A N/A N/A stream_ids append stream_id N/A N/A N/A item_refs_responses append N/A N/A item_ref_from_json i N/A i item_refs_json N/A N/A new_item_refs N/A N/A alread_known_item_ref_count 0 N/A known_item_ids N/A compact_item_ids_by_stream_id N/A stream_id N/A item_ref_json item_refs_json N/A N/A N/A N/A item_ref_json N/A id 0x859df8b8d14b566e N/A N/A N/A N/A N/A N/A item_ref_json N/A id N/A 2 known_item_ids N/A N/A N/A N/A new_item_refs append N/A item_ref_from_json item_ref_json N/A N/A alread_known_item_ref_count 1 N/A new_item_refs N/A N/A N/A N/A logging info   Got an additional %s item refs for %s (%s were already known) N/A N/A {:,} format N/A len new_item_refs stream_id N/A N/A {:,} format alread_known_item_ref_count N/A N/A N/A N/A item_refs_responses_by_stream_id N/A stream_id extend new_item_refs N/A _fetch_and_save_item_refs N/A N/A stream_ids api args streams_directory user_id N/A N/A N/A fetched_stream_ids N/A 0 report_item_refs_progress N/A N/A stream_id item_refs N/A N/A N/A N/A item_refs None N/A N/A N/A N/A logging error   Could not load item refs from %s stream_id N/A N/A N/A fetched_stream_ids N/A 0 1 N/A N/A N/A logging info   Loaded %s item refs from %s, %d streams left. N/A N/A {:,} format N/A len item_refs stream_id N/A N/A len stream_ids N/A fetched_stream_ids N/A 0 N/A N/A item_refs_responses N/A N/A N/A base worker do_work N/A N/A N/A N/A N/A FetchItemRefsWorker api N/A args stream_items_chunk_size N/A args max_items_per_stream stream_ids N/A args parallelism report_progress report_item_refs_progress N/A N/A args additional_item_refs_file_path N/A N/A N/A _load_additional_item_refs N/A N/A N/A base paths normalize N/A args additional_item_refs_file_path stream_ids item_refs_responses user_id N/A N/A N/A logging info Saving item refs for %d streams N/A len N/A i N/A i item_refs_responses N/A i None N/A item_ids N/A set N/A item_refs_total 0 N/A N/A stream_id item_refs N/A N/A itertools izip stream_ids item_refs_responses N/A N/A N/A item_refs N/A N/A N/A N/A N/A item_ids update N/A N/A item_ref item_id N/A item_ref item_refs N/A item_refs_total N/A len item_refs N/A N/A stream_id N/A N/A base api EXPLORE_STREAM_ID N/A N/A N/A N/A N/A N/A base api not_found_items_ids_to_ignore update N/A N/A i item_id N/A i item_refs N/A stream N/A N/A N/A base api Stream stream_id stream_id item_refs item_refs N/A stream_file_name N/A N/A N/A N/A base paths stream_id_to_file_name stream_id .json N/A stream_file_path N/A N/A N/A os path join streams_directory stream_file_name N/A N/A open stream_file_path w stream_file N/A N/A N/A N/A stream_file write N/A N/A json dumps N/A N/A stream to_json N/A N/A N/A list item_ids item_refs_total N/A _chunk_item_ids N/A N/A item_ids chunk_size N/A N/A N/A item_ids_by_path N/A N/A item_id item_ids N/A N/A item_id_file_path N/A N/A N/A base paths item_id_to_file_path item_id N/A N/A N/A N/A N/A item_ids_by_path setdefault item_id_file_path N/A append item_id N/A current_item_ids_chunk N/A N/A item_ids_chunks N/A current_item_ids_chunk N/A item_ids_for_file_path N/A N/A item_ids_by_path values N/A N/A N/A N/A N/A len current_item_ids_chunk N/A len item_ids_for_file_path chunk_size N/A N/A current_item_ids_chunk N/A N/A N/A N/A item_ids_chunks append current_item_ids_chunk N/A N/A N/A current_item_ids_chunk extend item_ids_for_file_path N/A item_ids_chunks N/A FetchItemRefsWorker N/A N/A N/A base worker Worker N/A N/A _PROGRESS_REPORT_INTERVAL 50000 __init__ N/A N/A self api chunk_size max_items_per_stream N/A N/A N/A N/A self _api api N/A N/A self _chunk_size chunk_size N/A N/A self _max_items_per_stream max_items_per_stream N/A work N/A N/A self stream_id N/A N/A N/A result N/A N/A continuation_token None N/A next_progress_report N/A FetchItemRefsWorker _PROGRESS_REPORT_INTERVAL N/A True N/A N/A N/A N/A N/A item_refs continuation_token N/A N/A N/A self _api fetch_item_refs stream_id count N/A self _chunk_size continuation_token continuation_token N/A N/A N/A N/A urllib2 HTTPError N/A e N/A N/A N/A N/A N/A e code 400 N/A Permission denied N/A N/A e read N/A N/A N/A N/A logging warn   Permission denied when getting items for the stream %s, it's most likely private now. stream_id N/A None N/A N/A N/A N/A N/A result extend item_refs N/A N/A N/A len result next_progress_report N/A N/A N/A N/A logging debug   %s item refs fetched so far from %s N/A N/A {:,} format N/A len result stream_id N/A next_progress_report N/A FetchItemRefsWorker _PROGRESS_REPORT_INTERVAL N/A N/A N/A continuation_token N/A N/A self _max_items_per_stream N/A N/A len result N/A self _max_items_per_stream N/A N/A N/A result N/A N/A FetchWriteItemBodiesWorker N/A N/A N/A base worker Worker N/A __init__ N/A N/A self api items_directory N/A N/A N/A N/A self _api api N/A N/A self _items_directory items_directory N/A work N/A N/A self item_ids N/A N/A N/A N/A item_ids N/A N/A 0 N/A item_bodies_by_id N/A N/A self _fetch_item_bodies item_ids N/A N/A item_bodies_by_id N/A N/A N/A N/A item_bodies_by_file_path N/A N/A self _group_item_bodies N/A N/A item_bodies_by_id values N/A N/A file_path item_bodies N/A N/A item_bodies_by_file_path items N/A N/A N/A N/A self _write_item_bodies file_path item_bodies N/A N/A N/A item_bodies_by_id keys N/A _fetch_item_bodies N/A N/A self item_ids N/A N/A fetch N/A N/A hifi N/A True N/A N/A result N/A N/A N/A self _api fetch_item_bodies item_ids format N/A hifi atom-hifi atom authenticated False N/A result N/A N/A N/A N/A N/A N/A N/A fetch N/A N/A N/A N/A urllib2 HTTPError N/A e N/A N/A N/A N/A e code 500 N/A N/A N/A N/A logging info   500 response when fetching %d items, retrying with high-fidelity output turned off N/A len item_ids N/A N/A fetch hifi False N/A N/A N/A N/A logging error   HTTP error %d when fetching items: %s N/A e code N/A N/A , join N/A N/A N/A i compact_form N/A i item_ids N/A N/A e read N/A None N/A N/A N/A ET ParseError N/A e N/A N/A N/A N/A logging info   XML parse error when fetching %d items, retrying with high-fidelity turned off N/A len item_ids N/A N/A fetch hifi False N/A N/A N/A N/A urllib2 HTTPError N/A e N/A N/A N/A N/A N/A e code 500 N/A N/A len item_ids 1 N/A N/A N/A N/A logging info   500 response even with high-fidelity output turned off, splitting %d chunk into two to find problematic items N/A len item_ids N/A N/A N/A self _fetch_item_bodies_split item_ids N/A N/A N/A N/A logging error   HTTP error %d when fetching %s items%s N/A e code N/A N/A , join N/A N/A N/A i compact_form N/A i item_ids N/A N/A N/A e code 500 N/A : %s N/A N/A e read N/A None N/A N/A N/A N/A N/A logging error   Exception when fetching items %s N/A N/A , join N/A N/A N/A i compact_form N/A i item_ids exc_info True N/A None N/A _fetch_item_bodies_split N/A N/A self item_ids N/A N/A N/A split_point N/A int N/A N/A len item_ids 2 N/A first_chunk N/A item_ids N/A 0 split_point N/A second_chunk N/A item_ids N/A split_point N/A result N/A N/A first_chunk N/A N/A first_chunk_result N/A N/A self _fetch_item_bodies first_chunk N/A first_chunk_result N/A N/A N/A N/A result update first_chunk_result N/A second_chunk N/A N/A second_chunk_result N/A N/A self _fetch_item_bodies second_chunk N/A second_chunk_result N/A N/A N/A N/A result update second_chunk_result N/A result N/A _group_item_bodies N/A N/A self item_bodies N/A N/A N/A item_bodies_by_path N/A N/A entry item_bodies N/A N/A item_id_file_path N/A N/A N/A base paths item_id_to_file_path N/A self _items_directory N/A entry item_id N/A N/A N/A N/A N/A item_bodies_by_path setdefault item_id_file_path N/A append entry N/A item_bodies_by_path N/A _write_item_bodies N/A N/A self file_path item_bodies N/A N/A N/A N/A N/A N/A base paths ensure_exists N/A N/A N/A os path dirname file_path N/A feed_element N/A N/A ET Element N/A {%s}feed N/A N/A base atom ATOM_NS N/A entry item_bodies N/A N/A N/A N/A feed_element append N/A entry element N/A N/A open file_path w items_file N/A N/A N/A N/A N/A N/A ET ElementTree feed_element write items_file xml_declaration True encoding utf-8 N/A N/A FetchCommentsWorker N/A N/A N/A base worker Worker N/A __init__ N/A N/A self api encoded_sharers chunk_size N/A N/A N/A N/A self _api api N/A N/A self _encoded_sharers encoded_sharers N/A N/A self _chunk_size chunk_size N/A work N/A N/A self broadcast_stream_id N/A N/A N/A result N/A N/A continuation_token None N/A True N/A N/A N/A comments_by_item_id continuation_token N/A N/A N/A self _api fetch_comments broadcast_stream_id encoded_sharers N/A self _encoded_sharers count N/A self _chunk_size continuation_token continuation_token N/A N/A N/A result update comments_by_item_id N/A N/A continuation_token N/A N/A N/A result N/A N/A N/A N/A __name__ __main__ N/A N/A N/A main