fixed bug where xml data was also returned when using cli
This commit is contained in:
parent
48e69cf7a2
commit
5e1f020ccf
2
setup.py
2
setup.py
|
@ -14,7 +14,7 @@ def get_requirements():
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="youtube_transcript_api",
|
name="youtube_transcript_api",
|
||||||
version="0.1.0",
|
version="0.1.1",
|
||||||
author="Jonas Depoix",
|
author="Jonas Depoix",
|
||||||
author_email="jonas.depoix@web.de",
|
author_email="jonas.depoix@web.de",
|
||||||
description="This is an python API which allows you to get the transcripts/subtitles for a given YouTube video. It also works for automatically generated subtitles and it does not require a headless browser, like other selenium based solutions do!",
|
description="This is an python API which allows you to get the transcripts/subtitles for a given YouTube video. It also works for automatically generated subtitles and it does not require a headless browser, like other selenium based solutions do!",
|
||||||
|
|
|
@ -110,7 +110,6 @@ class _TranscriptParser():
|
||||||
|
|
||||||
def __init__(self, plain_data):
|
def __init__(self, plain_data):
|
||||||
self.plain_data = plain_data
|
self.plain_data = plain_data
|
||||||
print(plain_data)
|
|
||||||
|
|
||||||
def parse(self):
|
def parse(self):
|
||||||
return [
|
return [
|
||||||
|
|
Loading…
Reference in New Issue