[GH-ISSUE #464] [Feature Request] add cloudflare captcha dialog instead of error http 403 for apis. #1699

Closed
opened 2026-03-13 19:13:31 +03:00 by kerem · 9 comments
Owner

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.

Originally created by @mahoganyprogrammer on GitHub (Feb 9, 2026). Original GitHub issue: https://github.com/afkarxyz/SpotiFLAC/issues/464 <!-- WARNING: Issues that do not follow this template will be closed without review. Fill out the relevant section and delete the other. --> ### [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.
kerem closed this issue 2026-03-13 19:13:37 +03:00
Author
Owner

@mahoganyprogrammer commented on GitHub (Feb 9, 2026):

@afkarxyz i tried link in browser. works fine after completing cloudflare captcha.

<!-- gh-comment-id:3872024619 --> @mahoganyprogrammer commented on GitHub (Feb 9, 2026): @afkarxyz i tried link in browser. works fine after completing cloudflare captcha.
Author
Owner

@mahoganyprogrammer commented on GitHub (Feb 9, 2026):

Image this captcha screen

<!-- gh-comment-id:3872033667 --> @mahoganyprogrammer commented on GitHub (Feb 9, 2026): <img width="1030" height="818" alt="Image" src="https://github.com/user-attachments/assets/3d287105-9992-4ddf-9eaf-c7ca2796191a" /> this captcha screen
Author
Owner

@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.

<!-- gh-comment-id:3880898151 --> @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.
Author
Owner

@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?

<!-- gh-comment-id:3886002611 --> @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?
Author
Owner

@afkarxyz commented on GitHub (Feb 11, 2026):

Unfortunately, I didn't experience this Cloudflare issue, so no pull request is needed.

<!-- gh-comment-id:3886023289 --> @afkarxyz commented on GitHub (Feb 11, 2026): Unfortunately, I didn't experience this Cloudflare issue, so no pull request is needed.
Author
Owner

@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.

<!-- gh-comment-id:3887814500 --> @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.
Author
Owner

@afkarxyz commented on GitHub (Feb 12, 2026):

I'd suggest using a VPN just to fetch Spotify.

<!-- gh-comment-id:3888341927 --> @afkarxyz commented on GitHub (Feb 12, 2026): I'd suggest using a VPN just to fetch Spotify.
Author
Owner
<!-- gh-comment-id:3888351880 --> @afkarxyz commented on GitHub (Feb 12, 2026): https://github.com/afkarxyz/SpotiFLAC?tab=readme-ov-file#why-does-metadata-fetching-sometimes-fail
Author
Owner

@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

<!-- gh-comment-id:3893008979 --> @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
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SpotiFLAC#1699
No description provided.