HaarigerHarald / android-youtubeExtractor

Deprecated: Android based YouTube URL extractor and downloader
Other
877 stars 304 forks source link

Some videos became failed #120

Open JmyW opened 4 years ago

JmyW commented 4 years ago

Hi Harald et al, Recently I am seeing some videos failed extraction and they were fine before. Can anyone help? [ Examples ] https://www.youtube.com/watch?v=AgFeZr5ptV8 https://www.youtube.com/watch?v=AX3Bsiq-13k https://www.youtube.com/watch?v=A9hcJgtnm6Q https://www.youtube.com/watch?v=AmLNlmleGV8 https://www.youtube.com/watch?v=ABZsjO36ILM

JmyW commented 4 years ago

Does any one get same issue?

xibr commented 4 years ago

i have same issue

and this link https://youtu.be/As7vSu29Sh8

xibr commented 4 years ago

@JmyW

[ Examples ] https://www.youtube.com/watch?v=AgFeZr5ptV8

https://www.youtube.com/watch?v=AX3Bsiq-13k

https://www.youtube.com/watch?v=A9hcJgtnm6Q

https://www.youtube.com/watch?v=AmLNlmleGV8

https://www.youtube.com/watch?v=ABZsjO36ILM

All these links do not work with me

xibr commented 4 years ago

also not working https://youtu.be/AI94Johmqg4

LowLevelSubmarine commented 4 years ago

Having the exact same problems with about 5% of my downloads. I wish I knew how to fix this... As @JmyW said, they were fine before. The first time I got this problem was probably a month ago.

Jonbeckas commented 4 years ago

same

xibr commented 4 years ago

There is no solution? decipher changed !

MCrissDev commented 4 years ago

Same issue here. Videos that worked last week now doesn't work anymore

MCrissDev commented 4 years ago

From first look seems that we get this: player_response=%7B%22playabilityStatus%22%3A%7B%22status%22%3A%22UNPLAYABLE%22%2C%22reason%22%3A%22%5Cu

Which kinda means that its not working because the owner of the video disabled the playability of the song on external sites (can be only played on youtube site).

xibr commented 4 years ago

2019-12-16 01:27:07.739 12591-15378/at.huber.sampleDownload D/YouTubeExtractor: infoUrl: https://www.youtube.com/get_video_info?video_id=DfKOAJqlf2c&eurl=https%3A%2F%2Fyoutube.googleapis.com%2Fv%2FDfKOAJqlf2c 2019-12-16 01:27:09.429 12591-15378/at.huber.sampleDownload D/YouTubeExtractor: Get from youtube page 2019-12-16 01:27:11.707 12591-15378/at.huber.sampleDownload D/YouTubeExtractor: Decipher signatures: 0, videos: 0 2019-12-16 01:27:11.916 12591-15378/at.huber.sampleDownload D/YouTubeExtractor: fflags=fast_autonav_in_background%3Dtrue%26html5_subsegment_readahead_timeout_secs%3D2.0%26html5_incremental_parser_buffer_duration_secs%3D1.5%26html5_initdata_deep_comparison%3Dtrue%26html5_pause_video_fix%3Dtrue%26web_player_sentinel_is_uniplayer%3Dtrue%26html5_manifestless_interpolate%3Dtrue%26ad_pod_disable_companion_persist_ads_quality%3Dtrue%26use_touch_events_for_bulleit_mweb%3Dtrue%26web_gel_timeout_cap%3Dtrue%26html5_hfr_quality_cap%3D0%26html5_inline_video_quality_survey%3Dtrue%26show_thumbnail_on_standard%3Dtrue%26web_player_live_monitor_env_killswitch%3Dtrue%26html5_gapless_error_check_killswitch%3Dtrue%26html5_manifestless_synchronized%3Dtrue%26web_player_ipp_canary_type_for_logging%3D%26bulleit_use_touch_events_for_skip%3Dtrue%26html5_live_abr_repredict_fraction%3D0.0%26enable_ypc_clickwrap_on_living_room%3Dtrue%26show_countdown_on_bumper%3Dtrue%26html5_limit_adaptation_requests%3Dtrue%26html5_streaming_xhr_optimize_lengthless_mp4%3Dtrue%26autoplay_time%3D8000%26kevlar_miniplayer_expand_top%3Dtrue%26enable_html5_midroll_tsla_update%3Dtrue%26visibility_error_html_dump_sample_rate%3D0.01%26unplugged_tvhtml5_botguard_attestation%3Dtrue%26html5_time_based_consolidation_ms%3D0%26allow_poltergust_autoplay%3Dtrue%26html5_delay_initial_loading%3Dtrue%26html5_gapless_ended_transition_buffer_ms%3D200%26web_player_live_monitor_env_killswitch2%3Dtrue%26html5_enable_embedded_player_visibility_signals%3Dtrue%26html5_gapless_allow_late_transitions%3Dtrue%26html5_df_downgrade_thresh%3D0.2%26html5_log_hls_video_height_change_as_format_change%3Dtrue%26render_enhanced_overlays_as_ctas_for_desktop_style%3Dunset%26use_survey_skip_in_0s%3Dtrue%26kevlar_autonav_miniplayer_fix%3Dtrue%26html5_enable_4k_hq_enc%3Dtrue%26html5_prefer_server_bwe3%3Dtrue%26html5_background_quality_cap%3D360%26html5_suspend_loader%3Dtrue%26playready_first_play_expiration%3D-1%26enable_survey_termination_on_resize%3Dtrue%26html5_qoe_intercept%3D%26html5_streaming_xhr_buffer_mdat%3Dtrue%26html5_subsegment_readahead_min_buffer_health_secs%3D0.25%26variable_buffer_timeout_ms%3D0%26html5_gapless_audio%3Dtrue%26ignore_empty_xhr%3Dtrue%26desktop_player_button_tooltip_with_shortcut%3Dtrue%26html5_player_autonav_logging%3Dtrue%26html5_desktop_vr180_allow_panning%3Dtrue%26html5_full_gapless_content_resume%3Dtrue%26postroll_notify_time_seconds%3D5%26html5_seek_over_discontinuities%3Dtrue%26html5_pseudo_gapless%3Dtrue%26html5_gapless_no_requests_after_lock%3Dtrue%26skip_ad_button_with_thumbnail%3Dtrue%26html5_log_promoted_video_ads_as_non_autoplay%3Dtrue%26web_player_api_logging_fraction%3D0.01%26html5_firefox_ambisonic_opus%3Dtrue%26html5_key_statuses_post_update_session%3Dtrue%26html5_jumbo_ull_nonstreaming_mffa_ms%3D4000%26html5_long_rebuffer_threshold_ms%3D0%26html5_source_buffer_attach_retry_limit%3D0%26mweb_enable_custom_control_shared%3Dtrue%26use_new_skip_icon%3Dtrue%26simply_enable_botguard%3Dtrue%26manifestless_post_live_ufph%3Dtrue%26live_chunk_readahead%3D3%26web_logging_max_batch%3D100%26web_player_response_playback_tracking_parsing%3Dtrue%26html5_dont_predict_end_time_in_past%3Dtrue%26html5_probe_primary_failure_factor%3D4%26use_forced_linebreak_preskip_text%3Dtrue%26player_allow_autonav_after_playlist%3Dtrue%26html5_progress_fix_fix%3Dtrue%26html5_gapless_rebuffer_tolerance_secs%3D0.0%26kevlar_miniplayer_play_pause_on_scrim%3Dtrue%26html5_shrink_live_timestamps%3Dtrue%26html5_ignore_start_seconds_for_ads_killswitch%3Dtrue%26html5_disable_preserve_reference%3Dtrue%26web_post_search%3Dtrue%26pass_biscotti_id_in_header_ajax%3Dtrue%26bulleit_use_video_end_cuerange_for_completion%3Dtrue%26mweb_native_control_in_faux_fullscreen_shared%3Dtrue%26enable_kevlar_action_companion_cleanup%3Dtrue%26html5_fludd_suspend%3Dtrue%26html5_unrewrite_timestamps%3Dtrue%26html5_hdcp_probing_stream_url%3D%26html5_default_ad_gain%3D0.5%26html5_av1_thresh_arm%3D240%26html5_subsegment_readahead_target_buffer_health_secs%3D0.5%26html5_hls_initial_bitrate%3D0%26html5_log_rebuffer_events%3D0%26should_clear_video_data_on_player_cued_uns

xibr commented 4 years ago

Decipher signatures: 0, videos: 0

xibr commented 4 years ago

@MCrissDev I only agree with you on some links like this https://youtu.be/az3eW7vIjOU However, this link https://youtu.be/AI94Johmqg4 does not work and the video owner has not stopped playing it on external websites

gianghoang1995 commented 4 years ago

Same too, no solution to now... Need your help

MCrissDev commented 4 years ago

However, this link https://youtu.be/AI94Johmqg4 does not work and the video owner has not stopped playing it on external websites Not sure what's happening exatcly, but that is the error i get. Also, when its working, adaptive_fmts and url_encoded_fmt_stream_map data cannot be found. Now looking over ytb-downloader in order to see what's different there (since with that tool, same videos are working...)

xibr commented 4 years ago

Currently I am using NewPipeExtractor

check it NewPipeExtractor So everything works without problems, even those clips that its owner has blocked on external sites

this link https://youtu.be/AI94Johmqg4 does not work and the video owner has not stopped playing it on external websites

Screenshot_٢٠١٩١٢١٦-٢٣٣٩١٠_

and this https://youtu.be/az3eW7vIjOU

From first look seems that we get this: player_response=%7B%22playabilityStatus%22%3A%7B%22status%22%3A%22UNPLAYABLE%22%2C%22reason%22%3A%22%5Cu Which kinda means that its not working because the owner of the video disabled the playability of the song on external sites (can be only played on youtube site).

Screenshot_٢٠١٩١٢١٦-٢٣٤٧١٨_

LowLevelSubmarine commented 4 years ago

Is there hope? I rely on this library...

Aravindraj93 commented 4 years ago

Has anyone got solution ?

LowLevelSubmarine commented 4 years ago

I feel a bit bad for leaving this Repo, but i recommend checking out NewPipe it does what YoutubeExtractor does, just with all the videos (and my code is now only half as long). Either way, good luck with your projects!

JmyW commented 4 years ago

@LowLevelSubmarine I tried NewPipe in past two days. But they have a poor document that cannot explain how the video real url can be extracted. I check the sample code but it's huge. I took a lot of time but still cannot find how to extract the real url address of a video. (I don't want to use any other player but just native mediaPlayer. So I just need to extract the url address. Do you know how?

xibr commented 4 years ago

@JmyW try this youtube-extractor-example example for NewPipeExtractor

razar-dev commented 4 years ago

@JmyW

  1. GPL 👎
  2. Bad documentation
JmyW commented 4 years ago

@bunaif Thanks, I will try it.

JmyW commented 4 years ago

@razar-dev Oops, thanks for reminder ... ... ... GPL :(

xibr commented 4 years ago

@JmyW check this https://github.com/naveedhassan913/YouTubeExtractor

razar-dev commented 4 years ago

@bunaif Parsed the new YouTube format - it's just json. I just couldn't figure out how to generate a signature for a Url. Thanks for the repo link it helped me.

xibr commented 4 years ago

For me, I am using this repo for personal use. I don't have an app for the public. I made an app so I can send links to the adm adm app to speed up the download.

xibr commented 4 years ago

@razar-dev

I just couldn't figure out how to generate a signature for a Url.

me too.

Another library is available which is best because it is based on Youtube-dl، YouTube-dl.zip can be updated from within the library.

youtubedl-android by yausername

xibr commented 4 years ago

It's good if someone has fix this repo.

beomboo commented 4 years ago

해결되시면 메일 부탁드립니다. bg@jou.kr