forked from YuanHsing/YTM
-
Notifications
You must be signed in to change notification settings - Fork 0
575 lines (569 loc) · 19.3 KB
/
ytm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
name: Get YouTube Live m3u8
on:
schedule:
- cron: '0 0/3 * * *'
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: config
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
- name: Install yt-dlp
run: |
sudo curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp
sudo chmod a+rx /usr/local/bin/yt-dlp
- name: Get 中天新闻.m3u8
run: |
touch ./中天新闻.m3u8
sudo cat >./中天新闻.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=oIgbl7t0S_w)
EOL
- name: Get 台视新闻.m3u8
run: |
touch ./台视新闻.m3u8
sudo cat >./台视新闻.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=xL0ch83RAK8)
EOL
- name: Get 三立新闻.m3u8
run: |
touch ./三立新闻.m3u8
sudo cat >./三立新闻.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=FoBfXvlOR6I)
EOL
- name: Get 三立iNews新闻.m3u8
run: |
touch ./三立iNews新闻.m3u8
sudo cat >./三立iNews新闻.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=jlldIiGA5bU)
EOL
- name: Get 民视新闻.m3u8
run: |
touch ./民视新闻.m3u8
sudo cat >./民视新闻.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=ylYJSBUgaMA)
EOL
- name: Get 中视新闻.m3u8
run: |
touch ./中视新闻.m3u8
sudo cat >./中视新闻.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=TCnaIE_SAtM)
EOL
- name: Get 寰宇新闻.m3u8
run: |
touch ./寰宇新闻.m3u8
sudo cat >./寰宇新闻.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=B7Zp3d6xXWw&ab_channel=%E5%AF%B0%E5%AE%87%E6%96%B0%E8%81%9E%E9%A0%BB%E9%81%93)
EOL
- name: Get TVBSNews.m3u8
run: |
touch ./TVBSNews.m3u8
sudo cat >./TVBSNews.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=2mCSYvcfhtc&ab_channel=TVBSNEWS)
EOL
- name: Get 中天新闻2.m3u8
run: |
touch ./中天新闻2.m3u8
sudo cat >./中天新闻2.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=WPfPjbOLNfE&list=PLU12uITxBEPFJGVb2zSgCaWvMBe7vHonB&index=76)
EOL
- name: Get 凤凰资讯台.m3u8
run: |
touch ./凤凰资讯台.m3u8
sudo cat >./凤凰资讯台.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=dmDg7NfUoSw&ab_channel=%E9%B3%B3%E5%87%B0%E8%A1%9B%E8%A6%96PhoenixTV)
EOL
- name: Get CCTV中文国际.m3u8
run: |
touch ./CCTV中文国际.m3u8
sudo cat >./CCTV中文国际.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=9sE12tg3CmA&ab_channel=LIVENOW)
EOL
- name: Get 东森财经新闻.m3u8
run: |
touch ./东森财经新闻.m3u8
sudo cat >./东森财经新闻.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=LbS-xQ67fos)
EOL
- name: Get 东森综合台.m3u8
run: |
touch ./东森综合台.m3u8
sudo cat >./东森综合台.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=f-K14tTfasA)
EOL
- name: Get 华视新闻.m3u8
run: |
touch ./华视新闻.m3u8
sudo cat >./华视新闻.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=UkeLZMHNJpA)
EOL
- name: Get PopRadio.m3u8
run: |
touch ./PopRadio.m3u8
sudo cat >./PopRadio.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=0cDlBvqrkDU)
EOL
- name: Get RainingDayCoffee.m3u8
run: |
touch ./RainingDayCoffee.m3u8
sudo cat >./RainingDayCoffee.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=bdiQ48RNbtI)
EOL
- name: Get JazzCovers.m3u8
run: |
touch ./JazzCovers.m3u8
sudo cat >./JazzCovers.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=oeivPcRHp-k)
EOL
- name: Get RadioHitsMusic.m3u8
run: |
touch ./RadioHitsMusic.m3u8
sudo cat >./RadioHitsMusic.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=HQtFR3mhzOY)
EOL
- name: Get RadioHitsMusic2.m3u8
run: |
touch ./RadioHitsMusic2.m3u8
sudo cat >./RadioHitsMusic2.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=uNd5kvrGHjk)
EOL
- name: Get 1022年经典歌曲.m3u8
run: |
touch ./1022年经典歌曲.m3u8
sudo cat >./1022年经典歌曲.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=aGKLoc1BVsA)
EOL
- name: Get 那些年我们听过的歌.m3u8
run: |
touch ./那些年我们听过的歌.m3u8
sudo cat >./那些年我们听过的歌.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=ppe-FdN1SLo)
EOL
- name: Get 网路流行音乐电台.m3u8
run: |
touch ./网路流行音乐电台.m3u8
sudo cat >./网路流行音乐电台.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/@2olive153/live)
EOL
- name: Get GoodVibes.m3u8
run: |
touch ./GoodVibes.m3u8
sudo cat >./GoodVibes.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/@EnglishSongCollection/live)
EOL
- name: Get ALLTHEKPOP.m3u8
run: |
touch ./ALLTHEKPOP.m3u8
sudo cat >./ALLTHEKPOP.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/c/ALLTHEKPOP/live)
EOL
- name: Get TheKPOP.m3u8
run: |
touch ./TheKPOP.m3u8
sudo cat >./TheKPOP.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/c/TheKPOP/live)
EOL
- name: Get TheKPOP2.m3u8
run: |
touch ./TheKPOP2.m3u8
sudo cat >./TheKPOP2.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/c/TheKPOP2/live)
EOL
- name: Get PrizeSleepSleepingMusic.m3u8
run: |
touch ./PrizeSleepSleepingMusic.m3u8
sudo cat >./PrizeSleepSleepingMusic.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=a9hDIX8PSuI)
EOL
- name: Get RelaxingPianoMusic.m3u8
run: |
touch ./RelaxingPianoMusic.m3u8
sudo cat >./RelaxingPianoMusic.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=-5ajVJ1Yxlg)
EOL
- name: Get 东森娱乐live.m3u8
run: |
touch ./东森娱乐live.m3u8
sudo cat >./东森娱乐live.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=YacyMIDrIN4&list=PLU12uITxBEPFJGVb2zSgCaWvMBe7vHonB&index=70)
EOL
- name: Get 中视综艺live.m3u8
run: |
touch ./中视综艺live.m3u8
sudo cat >./中视综艺live.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=ADDSmXoPDY8&list=PLU12uITxBEPFJGVb2zSgCaWvMBe7vHonB&index=77)
EOL
- name: Get FlyingOverIsland.m3u8
run: |
touch ./FlyingOverIsland.m3u8
sudo cat >./FlyingOverIsland.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=1ovvjWQ3aZE)
EOL
- name: Get BeautifulNature.m3u8
run: |
touch ./BeautifulNature.m3u8
sudo cat >./BeautifulNature.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=OX4XGMifSv8)
EOL
- name: Get DisneyBedtime.m3u8
run: |
touch ./DisneyBedtime.m3u8
sudo cat >./DisneyBedtime.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=f7-uxDG2xfc)
EOL
- name: Get HitFM北部.m3u8
run: |
touch ./HitFM北部.m3u8
sudo cat >./HitFM北部.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=hyWJfzXHaww)
EOL
- name: Get HitFM南部.m3u8
run: |
touch ./HitFM南部.m3u8
sudo cat >./HitFM南部.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=9336PvtcV7Q)
EOL
- name: Get HITZ.m3u8
run: |
touch ./HITZ.m3u8
sudo cat >./HITZ.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=JpsAE2Hy5Yk)
EOL
- name: Get ERAMuzikHitTerkini.m3u8
run: |
touch ./ERAMuzikHitTerkini.m3u8
sudo cat >./ERAMuzikHitTerkini.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=ZX71Vgg9JD4)
EOL
- name: Get GOXUAN够炫.m3u8
run: |
touch ./GOXUAN够炫.m3u8
sudo cat >./GOXUAN够炫.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=mcNePUaA6jg)
EOL
- name: Get 8FM线上收听.m3u8
run: |
touch ./8FM线上收听.m3u8
sudo cat >./8FM线上收听.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=D4kz2MHsgyA)
EOL
- name: Get FlyFM.m3u8
run: |
touch ./FlyFM.m3u8
sudo cat >./FlyFM.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=YF9Y9eb7zz8)
EOL
- name: Get MIX.m3u8
run: |
touch ./MIX.m3u8
sudo cat >./MIX.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/watch?v=6ZKr9gQLbuc)
EOL
- name: Get GTVDRAMA.m3u8
run: |
touch ./GTVDRAMA.m3u8
sudo cat >./GTVDRAMA.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/c/GTV%E5%85%AB%E5%A4%A7%E5%8A%87%E6%A8%82%E9%83%A8/live)
EOL
- name: Get FTVDRAMA.m3u8
run: |
touch ./FTVDRAMA.m3u8
sudo cat >./FTVDRAMA.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/c/FTVDRAMA/live)
EOL
- name: Get TBSCTSSHOW.m3u8
run: |
touch ./TBSCTSSHOW.m3u8
sudo cat >./TBSCTSSHOW.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/c/TBSCTSSHOW/live)
EOL
- name: Get AsiaDigitalMedia.m3u8
run: |
touch ./AsiaDigitalMedia.m3u8
sudo cat >./AsiaDigitalMedia.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/c/AsiaDigitalMedia/live)
EOL
- name: Get Faintv.m3u8
run: |
touch ./Faintv.m3u8
sudo cat >./Faintv.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/c/%E6%AD%A1%E6%A8%82%E7%9C%8B%E9%9B%BB%E8%A6%96/live)
EOL
- name: Get ctitv.m3u8
run: |
touch ./ctitv.m3u8
sudo cat >./ctitv.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/c/ctitv/live)
EOL
- name: Get newsebc.m3u8
run: |
touch ./newsebc.m3u8
sudo cat >./newsebc.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/c/newsebc/live)
EOL
- name: Get EBCFinancial.m3u8
run: |
touch ./EBCFinancial.m3u8
sudo cat >./EBCFinancial.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/c/57%E6%9D%B1%E6%A3%AE%E8%B2%A1%E7%B6%93%E6%96%B0%E8%81%9E/live)
EOL
- name: Get TVBSNEWS01.m3u8
run: |
touch ./TVBSNEWS01.m3u8
sudo cat >./TVBSNEWS01.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/c/TVBSNEWS01/live)
EOL
- name: Get GlobalNewsTV.m3u8
run: |
touch ./GlobalNewsTV.m3u8
sudo cat >./GlobalNewsTV.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/c/%E5%AF%B0%E5%AE%87%E6%96%B0%E8%81%9E%E9%A0%BB%E9%81%93/live)
EOL
- name: Get mnews.m3u8
run: |
touch ./mnews.m3u8
sudo cat >./mnews.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/channel/UC4LjkybVKXCDlneVXlKAbmw/live)
EOL
- name: Get ttvnewsview.m3u8
run: |
touch ./ttvnewsview.m3u8
sudo cat >./ttvnewsview.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/c/ttvnewsview/live)
EOL
- name: Get twctvnews.m3u8
run: |
touch ./twctvnews.m3u8
sudo cat >./twctvnews.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/c/twctvnews/live)
EOL
- name: Get DaAiVideo.m3u8
run: |
touch ./DaAiVideo.m3u8
sudo cat >./DaAiVideo.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/user/DaAiVideo/live)
EOL
- name: Get SETN.m3u8
run: |
touch ./SETN.m3u8
sudo cat >./SETN.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/c/%E4%B8%89%E7%AB%8B%E6%96%B0%E8%81%9E%E7%B6%B2SETN/live)
EOL
- name: Get SETLIVE.m3u8
run: |
touch ./SETLIVE.m3u8
sudo cat >./SETLIVE.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/c/%E4%B8%89%E7%AB%8BLIVE%E6%96%B0%E8%81%9E/live)
EOL
- name: Get setmoney159.m3u8
run: |
touch ./setmoney159.m3u8
sudo cat >./setmoney159.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/c/setmoney159/live)
EOL
- name: Get FTVLIVE.m3u8
run: |
touch ./FTVLIVE.m3u8
sudo cat >./FTVLIVE.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/c/FTVLIVE/live)
EOL
- name: Get FTVCP.m3u8
run: |
touch ./FTVCP.m3u8
sudo cat >./FTVCP.m3u8 <<EOL
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
$(yt-dlp --print urls https://www.youtube.com/c/FTVCP/live)
EOL
- name: git add
run: |
git add -A
ls -la
- name: commit & push
run: |
git commit -m "links are updated"
git push