diff options
author | zrose584 <57181548+zrose584@users.noreply.github.com> | 2020-10-21 10:35:01 +0200 |
---|---|---|
committer | zrose584 <57181548+zrose584@users.noreply.github.com> | 2020-10-21 10:35:01 +0200 |
commit | a27b575380378f1b490dcabb8cc67f05adee5daa (patch) | |
tree | f62f99169397b3779a5a9c2db4dca9beb0a86b56 /youtube/yt_data_extract/common.py | |
parent | c696db3e84d91092182adbeb7eef6126fad6be5d (diff) | |
download | yt-local-a27b575380378f1b490dcabb8cc67f05adee5daa.tar.lz yt-local-a27b575380378f1b490dcabb8cc67f05adee5daa.tar.xz yt-local-a27b575380378f1b490dcabb8cc67f05adee5daa.zip |
remove trailing whitespaces
Diffstat (limited to 'youtube/yt_data_extract/common.py')
-rw-r--r-- | youtube/yt_data_extract/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/yt_data_extract/common.py b/youtube/yt_data_extract/common.py index 9610479..683b1c6 100644 --- a/youtube/yt_data_extract/common.py +++ b/youtube/yt_data_extract/common.py @@ -295,7 +295,7 @@ def extract_item_info(item, additional_info={}): info['duration'] = extract_str(item.get('lengthText')) # if it's an item in a playlist, get its index - if 'index' in item: # url has wrong index on playlist page + if 'index' in item: # url has wrong index on playlist page info['index'] = extract_int(item.get('index')) elif 'indexText' in item: # Current item in playlist has ▶ instead of the actual index, must |