diff --git a/newsapi/const.py b/newsapi/const.py index 093058b..13301c3 100644 --- a/newsapi/const.py +++ b/newsapi/const.py @@ -1,12 +1,12 @@ TOP_HEADLINES_URL = 'https://newsapi.org/v2/top-headlines' EVERYTHING_URL = 'https://newsapi.org/v2/everything' SOURCES_URL = 'https://newsapi.org/v2/sources' +countries = {'ae','ar','at','au','be','bg','br','ca','ch','cn','co','cu','cz','de','eg','es','fr','gb','gr', + 'hk','hu','id','ie','il','in','is','it','jp','kr','lt','lv','ma','mx','my','ng','nl','no','nz', + 'ph','pk','pl','pt','ro','rs','ru','sa','se','sg','si','sk','th','tr','tw','ua','us','ve','za', + 'zh'} -countries = {'ae','ar','at','au','be','bg','br','ca','ch','cn','co','cu','cz','de','eg','fr','gb','gr','hk', - 'hu','id','ie','il','in','it','jp','kr','lt','lv','ma','mx','my','ng','nl','no','nz','ph','pl', - 'pt','ro','rs','ru','sa','se','sg','si','sk','th','tr','tw','ua','us','ve','za'} - -languages = {'ar','en','cn','de','es','fr','he','it','nl','no','pt','ru','sv','ud'} +languages = {'ar','en','cn','de','es','fr','he','it','nl','no','pt','ru','sv','se','ud','zh'} categories = {'business', 'entertainment', 'general', 'health', 'science', 'sports', 'technology'}