File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -437,7 +437,7 @@ int main(int argc, char* argv[]) {
437
437
std::vector<std::map<std::string, std::string>> watch_url = fetchdata.fetch_anime_watch_api_url (episode_url);
438
438
439
439
// URL'yi al
440
- std::string video_url = watch_url. back (). at ( " url " );
440
+ std::string video_url = getHighestQualityUrl (watch_url );
441
441
442
442
// MPV ile izleme başlat
443
443
std::cout << " İzleniyor: " << selected_anime_name << " " << anime_episodes[selected_episode_index].at (" name" ) << " \n " ;
@@ -464,7 +464,7 @@ int main(int argc, char* argv[]) {
464
464
std::vector<std::map<std::string, std::string>> watch_url = fetchdata.fetch_anime_watch_api_url (episode_url);
465
465
466
466
// URL'yi al
467
- std::string video_url = watch_url. back (). at ( " url " );
467
+ std::string video_url = getHighestQualityUrl (watch_url );
468
468
469
469
// MPV ile izleme başlat
470
470
std::cout << " İzleniyor: " << selected_anime_name << " " << anime_episodes[selected_episode_index].at (" name" ) << " \n " ;
You can’t perform that action at this time.
0 commit comments