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

Escaped paranthesis in title fails #2385

Closed
davidhedlund opened this issue Feb 14, 2014 · 2 comments
Closed

Escaped paranthesis in title fails #2385

davidhedlund opened this issue Feb 14, 2014 · 2 comments

Comments

@davidhedlund
Copy link

@davidhedlund davidhedlund commented Feb 14, 2014

artist="1200 Micrograms"; title="The Cosmologist (Galileo)"; youtube-dl "ytsearch10:$artist - $title" -f 172/171/43/webm/ogg --no-playlist --ignore-errors --max-filesize 75m --min-views 10000 --get-id --match-title ^"$artist - $title"$ --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['ytsearch10:1200 Micrograms - The Cosmologist (Galileo)', '-f', '172/171/43/webm/ogg', '--no-playlist', '--ignore-errors', '--max-filesize', '75m', '--min-views', '10000', '--get-id', '--match-title', '^1200 Micrograms - The Cosmologist (Galileo)$', '--verbose']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.02.13
[debug] Python version 2.7.3 - Linux-3.2.0-58-generic-x86_64-with-Trisquel-6.0-toutatis
[debug] Proxy map: {}
ERROR: [youtube] No video results; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 493, in extract_info
ie_result = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 158, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 565, in _real_extract
return self._get_n_results(query, n)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1697, in _get_n_results
raise ExtractorError(u'[youtube] No video results')
ExtractorError: [youtube] No video results; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Feb 16, 2014

If you run ytsearch:foo \(bar\) it means you want to search exactly foo \(bar\) not foo (bar), you only have to escape the parenthesis in the --match-title option. Therefore if you don't escape them, we have the same problem as in #2381

@jaimeMF jaimeMF closed this Feb 16, 2014
@davidhedlund
Copy link
Author

@davidhedlund davidhedlund commented Feb 16, 2014

On 2014-02-16 11:27, Jaime Marquínez Ferrándiz wrote:

If you run |ytsearch:foo (bar)| it means you want to search exactly
|foo (bar)| not |foo (bar)|, you only have to escape the parenthesis
in the |--match-title| option. Therefore if you don't escape them, we
have the same problem as in #2381
#2381


Reply to this email directly or view it on GitHub
#2385 (comment).

Thanks.

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.