Repository navigation
AttributeError: 'NoneType' object has no attribute 'keys' #58
Description
Activity
any suggestion
i had a similar problem, it was because there weren't english subtitles for the vid
i had a similar problem, it was because there weren't english subtitles for the vid
for me it shows it is not iterable
any suggestions- You try with dowloaded subtitles or cc required..…On Sun, 4 Feb, 2024, 17:01 Samanuai A, ***@***.***> wrote: i had a similar problem, it was because there weren't english subtitles for the vid for me it shows it is not iterable any suggestions — Reply to this email directly, view it on GitHub <#58 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ATOZRTN73ZQGJ3DK67OWBMDYR5WQXAVCNFSM4464FSF2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJSGU3TCMZWGU4A> . You are receiving this because you commented.Message ID: ***@***.***>
You try with dowloaded subtitles or cc required..
…
On Sun, 4 Feb, 2024, 17:01 Samanuai A, @.> wrote: i had a similar problem, it was because there weren't english subtitles for the vid for me it shows it is not iterable any suggestions — Reply to this email directly, view it on GitHub <#58 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATOZRTN73ZQGJ3DK67OWBMDYR5WQXAVCNFSM4464FSF2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJSGU3TCMZWGU4A . You are receiving this because you commented.Message ID: @.>do you have the latest working code of this repo
Mine repo is working is you can look at installation or setup
N also try downloading subtitles for the samecant find any repo in your profile
- https://github.com/kartikshastrakar/VideoMash please check now…On Fri, 9 Feb, 2024, 15:02 Samanuai A, ***@***.***> wrote: cant find any repo in your profile — Reply to this email directly, view it on GitHub <#58 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ATOZRTJGLEOQ3MUFJZ6IVUDYSXUL3AVCNFSM4464FSF2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJTGU2TSNZSHA3A> . You are receiving this because you commented.Message ID: ***@***.***>
ok thanks
C:\Users\Einstein\Downloads\pavan_proj\vidsum\code>python sum.py -u https://www.youtube.com/watch?v=PT2_F-1esPk
[nltk_data] Downloading package punkt to
[nltk_data] C:\Users\Einstein\AppData\Roaming\nltk_data...
[nltk_data] Package punkt is already up-to-date!
[youtube] PT2_F-1esPk: Downloading webpage
[download] 1.mp4 has already been downloaded
[download] 100% of 21.26MiB
Traceback (most recent call last):
File "sum.py", line 246, in
movie_filename, subtitle_filename = download_video_srt(url)
File "sum.py", line 216, in download_video_srt
subtitle_language = list(subtitle_info.keys())[0]
AttributeError: 'NoneType' object has no attribute 'keys'