mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-05-20 20:36:27 +02:00
[skip travis] renaming
to avoid using same folder when using pip install for example
This commit is contained in:
parent
9688f23716
commit
cefecac12c
861 changed files with 452 additions and 452 deletions
|
@ -15,11 +15,11 @@ import io
|
|||
|
||||
import xml.etree.ElementTree
|
||||
|
||||
import youtube_dl.YoutubeDL
|
||||
import youtube_dl.extractor
|
||||
import youtube_dlc.YoutubeDL
|
||||
import youtube_dlc.extractor
|
||||
|
||||
|
||||
class YoutubeDL(youtube_dl.YoutubeDL):
|
||||
class YoutubeDL(youtube_dlc.YoutubeDL):
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(YoutubeDL, self).__init__(*args, **kwargs)
|
||||
self.to_stderr = self.to_screen
|
||||
|
@ -45,7 +45,7 @@ class TestAnnotations(unittest.TestCase):
|
|||
|
||||
def test_info_json(self):
|
||||
expected = list(EXPECTED_ANNOTATIONS) # Two annotations could have the same text.
|
||||
ie = youtube_dl.extractor.YoutubeIE()
|
||||
ie = youtube_dlc.extractor.YoutubeIE()
|
||||
ydl = YoutubeDL(params)
|
||||
ydl.add_info_extractor(ie)
|
||||
ydl.download([TEST_ID])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue