File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed
Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 1616 </div >
1717 </v-card-text >
1818 <v-card-actions class =" pt-0" >
19- <v-btn icon :loading =" loading_video" @click =" load_video" :href =" `${stc.afr.v4 }/youtube/download/video/${id}`" >
19+ <v-btn icon :loading =" loading_video" @click =" load_video" :href =" `${stc.afr.v3 }/youtube/download/video/${id}`" >
2020 <v-icon color =" red" >mdi-download-box</v-icon >
2121 </v-btn >
22- <v-btn icon :loading =" loading_audio" @click =" load_audio" :href =" `${stc.afr.v4 }/youtube/download/audio/${id}`" style =" margin-left : 0 ;" >
22+ <v-btn icon :loading =" loading_audio" @click =" load_audio" :href =" `${stc.afr.v3 }/youtube/download/audio/${id}`" style =" margin-left : 0 ;" >
2323 <v-icon color =" red" >mdi-download-box-outline</v-icon >
2424 </v-btn >
2525 <v-spacer ></v-spacer >
Original file line number Diff line number Diff line change 103103 <v-col v-for =" (object, index) in videos" :key =" 'V'+index" >
104104 <VideoCard :title =" object.title"
105105 :id =" object.id"
106- :source =" `${stc.afr.api }/youtube/video/${object.id}`"
106+ :source =" `${stc.afr.v2 }/youtube/video/${object.id}`"
107107 @showComment =" comment($event)" />
108108 </v-col >
109109 <v-col v-for =" (object, index) in audios" :key =" 'A'+index" >
110110 <AudioCard :title =" object.title"
111111 :id =" object.id"
112- :source =" `${stc.afr.api }/youtube/audio/${object.id}`" />
112+ :source =" `${stc.afr.v2 }/youtube/audio/${object.id}`" />
113113 </v-col >
114114 <v-col v-for =" (object, index) in subscriptions" :key =" index" >
115115 <SubscriptionCard :title =" object.video_title"
116- :source =" `${stc.afr.api }/youtube/video/${object.video_id}`"
116+ :source =" `${stc.afr.v2 }/youtube/video/${object.video_id}`"
117117 :id =" object.video_id"
118118 :channel =" object.author_name"
119119 :thumbnails =" `${stc.yt.thumbnail}/${object.video_id}/mqdefault.jpg`"
171171 startup (){
172172 if (window .location .hash .includes (" #subscriptions" )){
173173 this .$data .chargement = true
174- fetch (` ${ stc .afr .api } /youtube/subscriptions/${ window .location .hash .split (" =" )[1 ]} ` )
174+ fetch (` ${ stc .afr .v3 } /youtube/subscriptions/${ window .location .hash .split (" =" )[1 ]} ` )
175175 .then (response => {
176176 if (response .ok ){
177177 return response .json ()
Original file line number Diff line number Diff line change 11export default {
22 afr : {
3- api : 'https://api.arfevrier.fr/v2' ,
4- v3 : 'https://api.arfevrier.fr/v3' ,
5- v4 : 'https://oracle.arfevrier.fr/api/v4' ,
3+ v2 : 'https://api.arfevrier.fr/v2' ,
4+ v3 : 'https://api.arfevrier.fr/v3'
65 } ,
76 yt : {
87 api : 'https://www.googleapis.com/youtube/v3' ,
You can’t perform that action at this time.
0 commit comments