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

Make these errors optional #9281

Open
AraHaan opened this issue Apr 22, 2016 · 1 comment
Open

Make these errors optional #9281

AraHaan opened this issue Apr 22, 2016 · 1 comment
Labels

Comments

@AraHaan
Copy link

@AraHaan AraHaan commented Apr 22, 2016

  • I've verified and I assure that I'm running youtube-dl 2016.04.19
  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


Description of your issue, suggested solution and other information

"ERROR: YouTube said: This video is available in Andorra, United Arab Emirates, A
fghanistan, Antigua and Barbuda, Anguilla, Albania, Armenia, Angola, Antarctica,
Argentina, American Samoa, Austria, Australia, Aruba, Åland Islands, Azerbaijan
, Bosnia and Herzegovina, Barbados, Bangladesh, Belgium, Burkina Faso, Bulgaria,
Bahrain, Burundi, Benin, Saint Barthélemy, Bermuda, Brunei Darussalam, Bolivia,
Plurinational State of, Bonaire, Sint Eustatius and Saba, Brazil, Bahamas, Bhut
an, Bouvet Island, Botswana, Belarus, Belize, Cocos (Keeling) Islands, Congo, th
e Democratic Republic of the, Central African Republic, Congo, Switzerland, Côte
d'Ivoire, Cook Islands, Chile, Cameroon, China, Colombia, Costa Rica, Cuba, Cap
e Verde, Curaçao, Christmas Island, Cyprus, Czech Republic, Djibouti, Denmark, D
ominica, Dominican Republic, Algeria, Ecuador, Estonia, Egypt, Western Sahara, E
ritrea, Spain, Ethiopia, Finland, Fiji, Falkland Islands (Malvinas), Micronesia,
Federated States of, Faroe Islands, France, Gabon, United Kingdom, Grenada, Geo
rgia, French Guiana, Guernsey, Ghana, Gibraltar, Greenland, Gambia, Guinea, Guad
eloupe, Equatorial Guinea, Greece, South Georgia and the South Sandwich Islands,
Guatemala, Guam, Guinea-Bissau, Guyana, Hong Kong, Heard Island and McDonald Is
lands, Honduras, Croatia, Haiti, Hungary, Indonesia, Ireland, Israel, Isle of Ma
n, India, British Indian Ocean Territory, Iraq, Iran, Islamic Republic of, Icela
nd, Italy, Jersey, Jamaica, Jordan, Japan, Kenya, Kyrgyzstan, Cambodia, Kiribati
, Comoros, Saint Kitts and Nevis, Korea, Democratic People's Republic of, Korea,
Republic of, Kuwait, Cayman Islands, Kazakhstan, Lao People's Democratic Republ
ic, Lebanon, Saint Lucia, Liechtenstein, Sri Lanka, Liberia, Lesotho, Lithuania,
Luxembourg, Latvia, Libya, Morocco, Monaco, Moldova, Republic of, Montenegro, S
aint Martin (French part), Madagascar, Marshall Islands, Macedonia, the Former Y
ugoslav Republic of, Mali, Myanmar, Mongolia, Macao, Northern Mariana Islands, M
artinique, Mauritania, Montserrat, Malta, Mauritius, Maldives, Malawi, Mexico, M
alaysia, Mozambique, Namibia, New Caledonia, Niger, Norfolk Island, Nigeria, Nic
aragua, Netherlands, Norway, Nepal, Nauru, Niue, New Zealand, Oman, Panama, Peru
, French Polynesia, Papua New Guinea, Philippines, Pakistan, Poland, Saint Pierr
e and Miquelon, Pitcairn, Palestine, State of, Portugal, Palau, Paraguay, Qatar,
Réunion, Romania, Serbia, Russian Federation, Rwanda, Saudi Arabia, Solomon Isl
ands, Seychelles, Sudan, Sweden, Singapore, Saint Helena, Ascension and Tristan
da Cunha, Slovenia, Svalbard and Jan Mayen, Slovakia, Sierra Leone, San Marino,
Senegal, Somalia, Suriname, South Sudan, Sao Tome and Principe, El Salvador, Sin
t Maarten (Dutch part), Syrian Arab Republic, Swaziland, Turks and Caicos Island
s, Chad, French Southern Territories, Togo, Thailand, Tajikistan, Tokelau, Timor
-Leste, Turkmenistan, Tunisia, Tonga, Turkey, Trinidad and Tobago, Tuvalu, Taiwa
n, Province of China, Tanzania, United Republic of, Ukraine, Uganda, United Stat
es Minor Outlying Islands, Uruguay, Uzbekistan, Holy See (Vatican City State), S
aint Vincent and the Grenadines, Venezuela, Bolivarian Republic of, Virgin Islan
ds, British, Virgin Islands, U.S., Viet Nam, Vanuatu, Wallis and Futuna, Samoa,
Yemen, Mayotte, South Africa, Zambia, Zimbabwe only"
This is printed when some videos cant be accessed and youtube supplies a message I want a option to turn that printing of that message off as my dict currently does not work even if I have quiet set to True.
my dict is this.

ytdlo = {'quiet': True, 'no_warnings': True, 'ignoreerrors': True}
@dstftw dstftw closed this Apr 22, 2016
@dstftw dstftw reopened this Apr 22, 2016
@dstftw dstftw added the request label Apr 22, 2016
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 22, 2016

Logger can be used to intercept errors though it will hook all the errors not only ExtractorError.

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.