Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

- YouTube failed with error 429 - Only when I select to show videos of certain time durration #3623

Closed
tio-trom opened this issue Aug 19, 2023 · 9 comments

Comments

@tio-trom
Copy link

This only happens if I select a video duration of minimum whatever minutes. If I do not add that, it works. Weird....

HttpException: https://www.youtube.com/watch?v=9hiPFEUoUyI resulted in 429 Too Many Requests  in lib/contents.php line 200

index.php(7): RssBridge->main()
lib/RssBridge.php(17): RssBridge->run()
lib/RssBridge.php(100): DisplayAction->execute()
actions/DisplayAction.php(128): YoutubeBridge->collectData()
bridges/YoutubeBridge.php(360): YoutubeBridge->parseJSONListing()
bridges/YoutubeBridge.php(313): YoutubeBridge->ytBridgeQueryVideoInfo()
bridges/YoutubeBridge.php(83): YoutubeBridge->ytGetSimpleHTMLDOM()
bridges/YoutubeBridge.php(208): getSimpleHTMLDOMCached()
lib/contents.php(440): getContents()
lib/contents.php(200)

Query string: action=display&bridge=YoutubeBridge&context=By+channel+id&c=UC5UAwBUum7CPN5buc-_N1Fw&duration_min=2&duration_max=&format=Mrss
Version: dev.2023-07-11
Os: Linux
PHP version: 8.1.22
@tio-trom tio-trom changed the title - YouTube failed with error 429 - Only when I select to show videos that are min a certain time - YouTube failed with error 429 - Only when I select to show videos of certain time durration Aug 19, 2023
@dvikan
Copy link
Contributor

dvikan commented Sep 12, 2023

unable to reproduce this: https://rss-bridge.org/bridge01/?action=display&bridge=YoutubeBridge&context=By+channel+id&c=UC5UAwBUum7CPN5buc-_N1Fw&duration_min=2&duration_max=&format=html

however, this is yt rejecting too many requests too fast. maybe overly used server.

let know if still having this issue

@dvikan dvikan closed this as completed Sep 12, 2023
@tio-trom
Copy link
Author

however, this is yt rejecting too many requests too fast. maybe overly used server.

It could be this...How do you go around this for https://rss-bridge.org?

@dvikan
Copy link
Contributor

dvikan commented Sep 13, 2023

maybe because of recent code changes. try reproducing the error in master

@tio-trom
Copy link
Author

maybe because of recent code changes. try reproducing the error in master

I will try. We are using the Yunohost package https://github.com/YunoHost-Apps/rss-bridge_ynh and it is quite outdated. We are trying to make it pull directly from the git YunoHost-Apps/rss-bridge_ynh#54 - if you have any inputs there.

Thanks!

@tio-trom
Copy link
Author

I see your main instance started to suffer from the same disease :D - https://rss-bridge.org/bridge01/?action=display&bridge=YoutubeBridge&context=By+username&u=EpicSpaceman&duration_min=1&duration_max=&format=Html

I even moved my instance to a completely new server, and thus IP, and it worked for 2 days then it throws me the same issue.

Maybe this is an issue that needs more attention so perhaps you should reopen this issue?

@dvikan dvikan reopened this Oct 10, 2023
@dvikan
Copy link
Contributor

dvikan commented Oct 10, 2023

sure. this is the generic youtube rate limiting.

@tio-trom
Copy link
Author

How can we go around that? Any tips?

@dvikan
Copy link
Contributor

dvikan commented Oct 13, 2023

duration filter triggers excessive requests.

@dvikan
Copy link
Contributor

dvikan commented Oct 15, 2023

improvement: #3757

let know if still issue

@dvikan dvikan closed this as completed Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants