po5 / mpv_sponsorblock

mpv script to skip sponsored segments of YouTube videos
GNU General Public License v3.0
549 stars 29 forks source link

Sponsor Database Download Speed #11

Closed hl2guide closed 4 years ago

hl2guide commented 4 years ago

Manually downloading: https://sponsor.ajay.app/database.db

is far quicker than the script downloading it as: sponsorblock.db.tmp

Please try to improve the background download speed of the sponsor database. Is there a limit in place?

po5 commented 4 years ago

Unless you can demonstrate that this line causes slow requests in general, I'm just gonna assume it works perfectly fine. https://github.com/po5/mpv_sponsorblock/blob/16610cfed08ed3b178ab3c9e3aa09b3d5cb793db/sponsorblock/shared/sponsorblock.py#L74

po5 commented 4 years ago

Turns out downloading from the api.sponsor.ajay.app domain is slower than sponsor.ajay.app, Ajay didn't set up Cloudflare properly.

Should be resolved soon, you can set the server_address option if you don't want to wait.

hl2guide commented 4 years ago

okay thanks po5 👯