Skip to content

Commit 13dd9b1

Browse files
authored
Update test-youtube.yml
1 parent 82c96af commit 13dd9b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test-youtube.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
- run: pip install yt-dlp
1414
- run: sudo apt install torsocks
1515
- name: Run tests
16-
run: until torsocks yt-dlp "https://www.youtube.com/watch?v=JFV4u-NcBzg" --print-to-file "%(formats_table)s" temp.txt --allow-unplayable-formats --extractor-args ${{ matrix.extractor-args }} --simulate; do true;done
16+
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
1717
- run: grep --ignore-case DRM temp.txt
1818
- run: cat temp.txt

0 commit comments

Comments
 (0)