-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Description
main.py:
from markitdown import MarkItDown
md = MarkItDown(enable_plugins=False)
result = md.convert("https://www.youtube.com/watch?v=GOejI6c0CMQ")
print(result.text_content)output:
(.venv) PS C:\Users\malay\OneDrive\Documents\Open Source\markitdown> python main.py
C:\Users\malay\OneDrive\Documents\Open Source\markitdown\.venv\Lib\site-packages\pydub\utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
Attempt 1 failed: no element found: line 1, column 0
Attempt 2 failed: no element found: line 1, column 0
Attempt 3 failed: no element found: line 1, column 0
[About](https://www.youtube.com/about/)[Press](https://www.youtube.com/about/press/)[Copyright](https://www.youtube.com/about/copyright/)[Contact us](/t/contact_us/)[Creator](https://www.youtube.com/creators/)[Advertise](https://www.youtube.com/ads/)[Developers](https://developers.google.com/youtube)[Terms](/t/terms)[Privacy](/t/privacy)[Policy & Safety](https://www.youtube.com/about/policies/)[How YouTube works](https://www.youtube.com/howyoutubeworks?utm_campaign=ytgen&utm_source=ythp&utm_medium=LeftNav&utm_content=txt&u=https%3A%2F%2Fwww.youtube.com%2Fhowyoutubeworks%3Futm_source%3Dythp%26utm_medium%3DLeftNav%26utm_campaign%3Dytgen)[Test new features](/new)
© 2025 Google LLC
cause:
In youtube-transcript-api~=1.0.0 this problem exists for some reason which was fixed after v1.1.0 (Reference)
Metadata
Metadata
Assignees
Labels
No labels