mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-15 13:43:04 +00:00
Compare commits
No commits in common. "258d88f3011a2226361c0642ff680840d49e8092" and "1275aeb95559e22dc8b404e91d316b1fa6072804" have entirely different histories.
258d88f301
...
1275aeb955
22
.github/workflows/download.yml
vendored
22
.github/workflows/download.yml
vendored
@ -1,31 +1,15 @@
|
||||
name: Download Tests
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
quick:
|
||||
name: Quick Download Tests
|
||||
tests:
|
||||
name: Download Tests
|
||||
if: "contains(github.event.head_commit.message, 'ci run dl')"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.9
|
||||
- name: Install test requirements
|
||||
run: pip install pytest
|
||||
- name: Run tests
|
||||
continue-on-error: true
|
||||
run: ./devscripts/run_tests.sh download
|
||||
|
||||
full:
|
||||
name: Full Download Tests
|
||||
if: "contains(github.event.head_commit.message, 'ci run dl all')"
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
python-version: ['3.6', '3.7', '3.10', 3.11-dev, pypy-3.6, pypy-3.7, pypy-3.8]
|
||||
python-version: ['3.6', '3.7', '3.9', '3.10', 3.11-dev, pypy-3.6, pypy-3.7, pypy-3.8]
|
||||
run-tests-ext: [sh]
|
||||
include:
|
||||
# atleast one of each CPython/PyPy tests must be in windows
|
||||
|
@ -3455,7 +3455,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||
|
||||
if get_first(video_details, 'isPostLiveDvr'):
|
||||
self.write_debug('Video is in Post-Live Manifestless mode')
|
||||
if (duration or 0) > 4 * 3600:
|
||||
if duration or 0 > 4 * 3600:
|
||||
self.report_warning(
|
||||
'The livestream has not finished processing. Only 4 hours of the video can be currently downloaded. '
|
||||
'This is a known issue and patches are welcome')
|
||||
|
Loading…
Reference in New Issue
Block a user