music_album_creation.web_parsing.video_title()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 3
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1.125

Importance

Changes 0
Metric Value
cc 1
eloc 3
nop 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
ccs 1
cts 2
cp 0.5
crap 1.125
1 1
from pytube import YouTube
2
3 1
4
def video_title(youtube_url: str) -> str:
5 1
    video = YouTube(youtube_url)
6
    return video.title
7