Skip to content

Commit 5cad0e8

Browse files
authored
Test each video twice on each client at a time
1 parent 2f9e423 commit 5cad0e8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/test-youtube.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
trial: [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]
10+
trial: [1,2,3,4,5,6,7,8,9,10]
1111
steps:
1212
- run: pip install yt-dlp
1313
- run: sudo apt install torsocks
1414
- name: Run tests
15-
run: until grep --ignore-case DRM temp.txt; do (torsocks yt-dlp "https://www.youtube.com/watch?v=JFV4u-NcBzg" --print-to-file "%(formats_table)s" temp.txt --allow-unplayable-formats --extractor-args "youtube:player_client=tv_simply,tv;formats=duplicate" --simulate||true);done
16-
- run: grep --ignore-case DRM temp.txt
15+
run: until grep --ignore-case DRM temp.txt; do rm temp.txt&&(torsocks yt-dlp JFV4u-NcBzg JFV4u-NcBzg --print-to-file "%(formats_table)s" temp.txt --allow-unplayable-formats --extractor-args "youtube:player_client=tv_simply,tv;formats=duplicate" --simulate||true);done
1716
- run: cat temp.txt

0 commit comments

Comments
 (0)