mirror of
https://github.com/afkarxyz/SpotiFLAC.git
synced 2026-04-26 15:45:54 +03:00
[GH-ISSUE #464] [Feature Request] add cloudflare captcha dialog instead of error http 403 for apis. #404
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SpotiFLAC#404
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mahoganyprogrammer on GitHub (Feb 9, 2026).
Original GitHub issue: https://github.com/afkarxyz/SpotiFLAC/issues/464
[Feature Request]
add cloudflare dialog instead of error http 403.
Description
dab api needs cloudflare check captcha done in webview or in sporiflac browser profile.
Use Case
once dialog display captcha, downloading can continue without errors
its just open api link in popup for captcha and after close window downloading from dab api wont be blocked.
@mahoganyprogrammer commented on GitHub (Feb 9, 2026):
@afkarxyz i tried link in browser. works fine after completing cloudflare captcha.
@mahoganyprogrammer commented on GitHub (Feb 9, 2026):
@mahoganyprogrammer commented on GitHub (Feb 10, 2026):
i tried to fix myself, but go lang and typescript have different sessions and it downloads cloudflare page instead. if i manually copy link in browser i could get qobuz link but no metadata.
@mahoganyprogrammer commented on GitHub (Feb 11, 2026):
@afkarxyz i made workaround myself. it shows popup window where you need to copy url to spotyflac window .it downloads fine from dab api. should i make pull request?
@afkarxyz commented on GitHub (Feb 11, 2026):
Unfortunately, I didn't experience this Cloudflare issue, so no pull request is needed.
@mahoganyprogrammer commented on GitHub (Feb 11, 2026):
@afkarxyz i am using vpn., you adviced in faq to use vpn if downloading doesn't work. maybe browser useragent is not passed and cloudflare think downloader is bot?
i fixed issue for myself by introducing webview externak popup that shows cloudflare challenge if error http 403 occurs. after shows json response. and spotiflac shows tsx dialogue where you paste link.( im not pro at fetching webview window contents.) after download queue resumes.
I thought my code or pull request would be useful for user that have cloudflare captcha even without vpn and only 1 api out of 4 works.
@afkarxyz commented on GitHub (Feb 12, 2026):
I'd suggest using a VPN just to fetch Spotify.
@afkarxyz commented on GitHub (Feb 12, 2026):
https://github.com/afkarxyz/SpotiFLAC?tab=readme-ov-file#why-does-metadata-fetching-sometimes-fail
@mahoganyprogrammer commented on GitHub (Feb 12, 2026):
ok. but some tracks avaiable through dab api. is qobuz tidal api is buggy. i receive invalid response error. manual search reveals that track exist and downloadable. maybe import flacs to add metadata based on one of metadata type. other qobuz api should have same tracks not return nothing