|
1 | 1 | TOP_HEADLINES_URL = 'https://newsapi.org/v2/top-headlines' |
2 | 2 | EVERYTHING_URL = 'https://newsapi.org/v2/everything' |
3 | 3 | SOURCES_URL = 'https://newsapi.org/v2/sources' |
| 4 | +countries = {'ae','ar','at','au','be','bg','br','ca','ch','cn','co','cu','cz','de','eg','es','fr','gb','gr', |
| 5 | + 'hk','hu','id','ie','il','in','is','it','jp','kr','lt','lv','ma','mx','my','ng','nl','no','nz', |
| 6 | + 'ph','pk','pl','pt','ro','rs','ru','sa','se','sg','si','sk','th','tr','tw','ua','us','ve','za', |
| 7 | + 'zh'} |
4 | 8 |
|
5 | | -countries = {'ae','ar','at','au','be','bg','br','ca','ch','cn','co','cu','cz','de','eg','fr','gb','gr','hk', |
6 | | - 'hu','id','ie','il','in','it','jp','kr','lt','lv','ma','mx','my','ng','nl','no','nz','ph','pl', |
7 | | - 'pt','ro','rs','ru','sa','se','sg','si','sk','th','tr','tw','ua','us','ve','za'} |
8 | | - |
9 | | -languages = {'ar','en','cn','de','es','fr','he','it','nl','no','pt','ru','sv','ud'} |
| 9 | +languages = {'ar','en','cn','de','es','fr','he','it','nl','no','pt','ru','sv','se','ud','zh'} |
10 | 10 |
|
11 | 11 | categories = {'business', 'entertainment', 'general', 'health', 'science', 'sports', 'technology'} |
12 | 12 |
|
|
0 commit comments