Module ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Return SubscriptLoad Call NameLoad Str Call AttributeLoad NameLoad attr Num Index Num decorator_list FunctionDef arguments args NameParam defaults body Return SubscriptLoad Call NameLoad Str Call AttributeLoad NameLoad attr Num Index Num decorator_list FunctionDef arguments args NameParam defaults body Return SubscriptLoad Call NameLoad Str Call AttributeLoad NameLoad attr Num Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num If CompareEq NameLoad Str body Break AugAssignAdd NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Num If CompareEq NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Num Return TupleLoad NameLoad NameLoad Call AttributeLoad NameLoad attr BinOpSub NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Return Dict Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str NameLoad NameLoad NameLoad NameLoad Return Dict Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Assert CompareEq NameLoad Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Assert CompareEq NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr Return Dict Str Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Assert CompareEq NameLoad Str Return Call AttributeLoad Call NameLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Str For TupleStore NameStore NameStore Call NameLoad Call NameLoad Num BinOpAdd NameLoad Num Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad Num NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr SubscriptLoad Call NameLoad Str NameLoad Slice Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Num If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad BinOpAdd NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg kwarg body Pass decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Dict Str Str Str Str Str NameLoad NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListComp TupleLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Num NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Call NameLoad Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad keyword Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index Num Assign TupleStore NameStore NameStore SubscriptLoad NameLoad Index Num orelse Assign TupleStore NameStore NameStore SubscriptLoad Call NameLoad Call NameLoad Lambda arguments args NameParam defaults CompareEq Call NameLoad SubscriptLoad NameLoad Index Num NameLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad body Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad Str Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Assign NameStore Dict Str Str Num Num Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore BinOpAdd SubscriptLoad NameLoad Index Str BinOpMult BinOpSub NameLoad SubscriptLoad NameLoad Index Str NameLoad If CompareEq SubscriptLoad NameLoad Index Str Str body AugAssignAdd SubscriptStore NameLoad Index Str NameLoad AugAssignAdd SubscriptStore NameLoad Index Str Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Assign NameStore SubscriptLoad NameLoad Index Str orelse Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore BinOpAdd SubscriptLoad NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad AugAssignAdd NameStore BinOpDiv NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad For TupleStore NameStore NameStore NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore BinOpAdd NameLoad NameLoad If NameLoad body AugAssignAdd NameStore BinOpAdd Str Call AttributeLoad NameLoad attr Str Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Dict Str NameLoad If UnaryOpNot NameLoad body Return NameLoad With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad While NameLoad body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad Break Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str BinOpSub Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str NameLoad NameLoad NameLoad Str Return NameLoad decorator_list decorator_list
N/A __future__ unicode_literals N/A base64 N/A io N/A itertools N/A os N/A time N/A xml.etree.ElementTree etree common FileDownloader http HttpFD compat compat_urlparse utils struct_pack struct_unpack format_bytes encodeFilename sanitize_open xpath_text FlvReader N/A N/A io BytesIO N/A N/A 
    Reader for Flv files
    The file format is documented in https://www.adobe.com/devnet/f4v.html
     read_unsigned_long_long N/A N/A self N/A N/A N/A N/A N/A struct_unpack !Q N/A N/A self read 8 N/A 0 N/A read_unsigned_int N/A N/A self N/A N/A N/A N/A N/A struct_unpack !I N/A N/A self read 4 N/A 0 N/A read_unsigned_char N/A N/A self N/A N/A N/A N/A N/A struct_unpack !B N/A N/A self read 1 N/A 0 N/A read_string N/A N/A self N/A N/A N/A res N/A True N/A N/A char N/A N/A self read 1 N/A N/A char N/A N/A N/A res char N/A res N/A read_box_info N/A N/A self N/A N/A N/A 
        Read a box and return the info as a tuple: (box_size, box_type, box_data)
         N/A real_size size N/A N/A self read_unsigned_int N/A box_type N/A N/A self read 4 N/A header_end 8 N/A N/A size 1 N/A N/A real_size N/A N/A self read_unsigned_long_long N/A header_end 16 N/A N/A real_size box_type N/A N/A self read N/A real_size header_end N/A read_asrt N/A N/A self N/A N/A N/A N/A N/A self read_unsigned_char N/A N/A N/A self read 3 N/A quality_entry_count N/A N/A self read_unsigned_char N/A i N/A range quality_entry_count N/A N/A N/A N/A self read_string N/A segment_run_count N/A N/A self read_unsigned_int N/A segments N/A N/A i N/A range segment_run_count N/A N/A first_segment N/A N/A self read_unsigned_int N/A fragments_per_segment N/A N/A self read_unsigned_int N/A N/A N/A segments append N/A first_segment fragments_per_segment N/A N/A segment_run segments N/A read_afrt N/A N/A self N/A N/A N/A N/A N/A self read_unsigned_char N/A N/A N/A self read 3 N/A N/A N/A self read_unsigned_int N/A quality_entry_count N/A N/A self read_unsigned_char N/A i N/A range quality_entry_count N/A N/A N/A N/A self read_string N/A fragments_count N/A N/A self read_unsigned_int N/A fragments N/A N/A i N/A range fragments_count N/A N/A first N/A N/A self read_unsigned_int N/A first_ts N/A N/A self read_unsigned_long_long N/A duration N/A N/A self read_unsigned_int N/A N/A duration 0 N/A N/A discontinuity_indicator N/A N/A self read_unsigned_char N/A N/A discontinuity_indicator None N/A N/A N/A fragments append N/A first ts duration discontinuity_indicator first first_ts duration discontinuity_indicator N/A N/A fragments fragments N/A read_abst N/A N/A self N/A N/A N/A N/A N/A self read_unsigned_char N/A N/A N/A self read 3 N/A N/A N/A self read_unsigned_int N/A N/A N/A self read 1 N/A N/A N/A self read_unsigned_int N/A N/A N/A self read_unsigned_long_long N/A N/A N/A self read_unsigned_long_long N/A N/A N/A self read_string N/A server_count N/A N/A self read_unsigned_char N/A i N/A range server_count N/A N/A N/A N/A self read_string N/A quality_count N/A N/A self read_unsigned_char N/A i N/A range quality_count N/A N/A N/A N/A self read_string N/A N/A N/A self read_string N/A N/A N/A self read_string N/A segments_count N/A N/A self read_unsigned_char N/A segments N/A N/A i N/A range segments_count N/A N/A N/A box_size box_type box_data N/A N/A self read_box_info N/A N/A box_type asrt N/A segment N/A N/A N/A FlvReader box_data read_asrt N/A N/A N/A segments append segment N/A fragments_run_count N/A N/A self read_unsigned_char N/A fragments N/A N/A i N/A range fragments_run_count N/A N/A N/A box_size box_type box_data N/A N/A self read_box_info N/A N/A box_type afrt N/A N/A N/A fragments append N/A N/A N/A FlvReader box_data read_afrt N/A N/A segments fragments segments fragments N/A read_bootstrap_info N/A N/A self N/A N/A N/A N/A total_size box_type box_data N/A N/A self read_box_info N/A N/A box_type abst N/A N/A N/A N/A FlvReader box_data read_abst N/A N/A read_bootstrap_info N/A N/A bootstrap_bytes N/A N/A N/A N/A N/A N/A FlvReader bootstrap_bytes read_bootstrap_info N/A build_fragments_list N/A N/A boot_info N/A N/A N/A  Return a list of (segment, fragment) for each fragment in the video  N/A res N/A N/A segment_run_table N/A N/A boot_info N/A segments N/A 0 N/A segment_run_entry N/A N/A segment_run_table N/A segment_run N/A 0 N/A n_frags N/A segment_run_entry N/A 1 N/A fragment_run_entry_table N/A N/A N/A boot_info N/A fragments N/A 0 N/A fragments N/A first_frag_number N/A N/A fragment_run_entry_table N/A 0 N/A first N/A N/A i frag_number N/A zip N/A range 1 N/A n_frags 1 N/A N/A itertools count first_frag_number N/A N/A N/A N/A res append N/A 1 frag_number N/A res N/A write_unsigned_int N/A N/A stream val N/A N/A N/A N/A N/A stream write N/A struct_pack !I val N/A write_unsigned_int_24 N/A N/A stream val N/A N/A N/A N/A N/A stream write N/A N/A struct_pack !I val N/A 1 N/A write_flv_header N/A N/A stream N/A N/A N/A Writes the FLV header to stream N/A N/A N/A stream write FLV N/A N/A N/A stream write N/A N/A N/A stream write N/A N/A N/A stream write N/A write_metadata_tag N/A N/A stream metadata N/A N/A N/A Writes optional metadata tag to stream N/A SCRIPT_TAG N/A FLV_TAG_HEADER_LEN 11 N/A metadata N/A N/A N/A N/A stream write SCRIPT_TAG N/A N/A write_unsigned_int_24 stream N/A len metadata N/A N/A N/A stream write N/A N/A N/A stream write metadata N/A N/A write_unsigned_int stream N/A FLV_TAG_HEADER_LEN N/A len metadata N/A _add_ns N/A N/A prop N/A N/A N/A N/A {http://ns.adobe.com/f4m/1.0}%s prop N/A HttpQuietDownloader N/A HttpFD N/A to_screen N/A N/A self N/A args kargs N/A N/A N/A N/A F4mFD N/A FileDownloader N/A N/A 
    A downloader for f4m manifests or AdobeHDS.
     real_download N/A N/A self filename info_dict N/A N/A N/A man_url N/A info_dict N/A url N/A requested_bitrate N/A N/A info_dict get tbr N/A N/A N/A self to_screen [download] Downloading f4m manifest N/A manifest N/A N/A N/A N/A N/A self ydl urlopen man_url read N/A N/A N/A self report_destination filename N/A http_dl N/A HttpQuietDownloader N/A self ydl N/A continuedl quiet noprogress ratelimit test True True True N/A N/A N/A self params get ratelimit None N/A N/A N/A self params get test False N/A doc N/A N/A etree fromstring manifest N/A formats N/A N/A N/A int N/A N/A N/A f attrib get bitrate -1 f N/A f N/A N/A doc findall N/A _add_ns media N/A N/A requested_bitrate None N/A N/A formats N/A sorted formats key N/A N/A N/A f N/A N/A f N/A 0 N/A N/A rate media N/A formats N/A -1 N/A N/A N/A rate media N/A N/A list N/A filter N/A N/A N/A f N/A N/A N/A int N/A f N/A 0 requested_bitrate formats N/A 0 N/A base_url N/A N/A compat_urlparse urljoin man_url N/A N/A media attrib N/A url N/A bootstrap_node N/A N/A doc find N/A _add_ns bootstrapInfo N/A N/A N/A bootstrap_node text None N/A N/A bootstrap_url N/A N/A compat_urlparse urljoin base_url N/A N/A bootstrap_node attrib N/A url N/A bootstrap N/A N/A N/A N/A N/A self ydl urlopen bootstrap_url read N/A N/A bootstrap N/A N/A base64 b64decode N/A bootstrap_node text N/A metadata_node N/A N/A media find N/A _add_ns metadata N/A N/A metadata_node None N/A N/A metadata N/A N/A base64 b64decode N/A metadata_node text N/A N/A metadata None N/A boot_info N/A read_bootstrap_info bootstrap N/A fragments_list N/A build_fragments_list boot_info N/A N/A N/A N/A self params get test False N/A N/A fragments_list N/A fragments_list N/A 1 N/A total_frags N/A len fragments_list N/A akamai_pv N/A xpath_text doc N/A _add_ns pv-2.0 N/A tmpfilename N/A N/A self temp_name filename N/A N/A dest_stream tmpfilename N/A sanitize_open tmpfilename wb N/A N/A write_flv_header dest_stream N/A N/A write_metadata_tag dest_stream metadata N/A state N/A downloaded_bytes frag_counter 0 0 N/A start N/A N/A time time frag_progress_hook N/A N/A status N/A N/A N/A frag_total_bytes N/A N/A status get total_bytes 0 N/A estimated_size N/A N/A state N/A downloaded_bytes N/A N/A total_frags N/A state N/A frag_counter frag_total_bytes N/A N/A N/A status N/A status finished N/A N/A N/A state N/A downloaded_bytes frag_total_bytes N/A N/A state N/A frag_counter 1 N/A progress N/A N/A self calc_percent N/A state N/A frag_counter total_frags N/A byte_counter N/A state N/A downloaded_bytes N/A N/A frag_downloaded_bytes N/A status N/A downloaded_bytes N/A byte_counter N/A N/A state N/A downloaded_bytes frag_downloaded_bytes N/A frag_progress N/A N/A self calc_percent frag_downloaded_bytes frag_total_bytes N/A progress N/A N/A self calc_percent N/A state N/A frag_counter total_frags N/A progress N/A frag_progress N/A float total_frags N/A eta N/A N/A self calc_eta start N/A N/A time time estimated_size byte_counter N/A N/A N/A self report_progress progress N/A format_bytes estimated_size N/A N/A status get speed eta N/A N/A N/A N/A http_dl add_progress_hook frag_progress_hook N/A frags_filenames N/A N/A N/A seg_i frag_i fragments_list N/A N/A name N/A Seg%d-Frag%d N/A seg_i frag_i N/A url N/A base_url name N/A akamai_pv N/A N/A url N/A ? N/A N/A akamai_pv strip ; N/A frag_filename N/A %s-%s N/A tmpfilename name N/A success N/A N/A http_dl download frag_filename N/A url url N/A N/A success N/A N/A False N/A N/A open frag_filename rb down N/A N/A down_data N/A N/A down read N/A reader N/A FlvReader down_data N/A True N/A N/A N/A _ box_type box_data N/A N/A reader read_box_info N/A N/A box_type mdat N/A N/A N/A N/A dest_stream write box_data N/A N/A N/A N/A frags_filenames append frag_filename N/A N/A N/A dest_stream close N/A N/A N/A self report_finish N/A format_bytes N/A state N/A downloaded_bytes N/A N/A N/A time time start N/A N/A N/A self try_rename tmpfilename filename N/A frag_file frags_filenames N/A N/A N/A N/A os remove frag_file N/A fsize N/A N/A N/A os path getsize N/A encodeFilename filename N/A N/A N/A self _hook_progress N/A downloaded_bytes total_bytes filename status fsize fsize filename finished N/A True N/A N/A