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

Inconsistent Endpoint Structure for Reciter Audio Files #663

Open
afrcvn opened this issue May 24, 2024 · 0 comments
Open

Inconsistent Endpoint Structure for Reciter Audio Files #663

afrcvn opened this issue May 24, 2024 · 0 comments

Comments

@afrcvn
Copy link

afrcvn commented May 24, 2024

Description of the Issue

The endpoints of the API for the audio files of reciters are inconsistent and lack a standardized structure. For example:

  • For the reciter Shuraym, the URL is: https://download.quranicaudio.com/qdc/saud_ash-shuraym/murattal/001.mp3
  • For the reciter Sudais, the URL is: https://download.quranicaudio.com/qdc/abdurrahmaan_as_sudais/murattal/1.mp3

Steps to Reproduce

  1. Access the API to retrieve audio files for different reciters.
  2. Compare the URLs for reciters Shuraym and Sudais.

Expected Behavior

The endpoints should follow a consistent structure for all reciters. For example, if the chosen format is xxx/yyy/zzz/nnn.mp3, it should be applied uniformly for all reciters.

Impact

This inconsistency complicates the automation and integration of audio files from different reciters, requiring specific adaptations for each reciter.

Suggestions for Correction

Standardize the URLs for all reciters. For example, choose a unique format either with or without leading zeros for the surah numbers:

  • With leading zeros: xxx/yyy/zzz/001.mp3
  • Without leading zeros: xxx/yyy/zzz/1.mp3
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

1 participant