Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filename in VEVO.COM only contains song name and misses artist name #1684

Closed
BlackHoleSpain opened this issue Oct 29, 2013 · 1 comment
Closed
Labels

Comments

@BlackHoleSpain
Copy link

@BlackHoleSpain BlackHoleSpain commented Oct 29, 2013

Hello,

When you download a video from VEVO.COM site, the variable %(title)s only fetches the name of the song, and not the name of the artist/performer/group, which we can find in the page and the URL.

When we use -e or --get-title we can clearly see the effects:

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.vevo.com/watch/katy-perry/california-gurls/USCA31000075', '--verbose', '--get-title']
[debug] youtube-dl version 2013.10.29
[debug] Python version 2.7.5 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
California Gurls

Since %(title)s variable is already wrong, we cannot even use templates to fix the file names at will.

Would it be possible to recode the Vevo extractor to get the text that already is present in the HTML page like:
"Katy Perry ft. Snoop Dogg - California Gurls" for the title?

Thanks in advance.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Oct 29, 2013

You can use the %(uploader)s field in the template:

youtube-dl 'http://www.vevo.com/watch/katy-perry/california-gurls/USCA31000075' -o "%(uploader)s: %(title)s.%(ext)s"
[debug] System config: []
[debug] User config: ['--keep-video', '--verbose', '--write-info-json', '--write-thumbnail']
[debug] Command-line args: ['http://www.vevo.com/watch/katy-perry/california-gurls/USCA31000075', '-o', '%(uploader)s: %(title)s.%(ext)s']
[debug] youtube-dl version 2013.10.29
[debug] Git HEAD: 43d7895
[debug] Python version 2.7.5 - Darwin-11.4.2-x86_64-i386-64bit
[debug] Proxy map: {}
[Vevo] USCA31000075: Downloading json info
[Vevo] USCA31000075: Extracting information
[info] Video description metadata as JSON to: Katy Perry: California Gurls.mp4.info.json
[Vevo] USCA31000075: Downloading thumbnail ...
[Vevo] USCA31000075: Writing thumbnail to: Katy Perry: California Gurls.jpg
[download] Destination: Katy Perry: California Gurls.mp4

We currently couldn't get the ft. Snoop Dogg part, we would need to download the whole webpage, we currently just download a json file which is much easier to use.

@dstftw dstftw closed this in 881dbc8 May 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.