| 
			
			 | 
		#1 | 
| 
			
			
			
			 Groupie 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 153 
				Karma: 902096 
				Join Date: Jul 2013 
				
				
				
				Device: Kindle Oasis 3, Kindle Voyage 
				
				
				 | 
	
	
	
		
		
			
			 
				
				NY Times Headlines builtin fails
			 
			
			
			Am new to this whole recipe thing.  Was trying to use the builtin to retrive just the headlines and it fails with this.  Help please? The full New York Times works but am trying to reduce file size and am mainly interested only in the headlines (en).  Thanks. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Fetch news from New York Times Headlines Conversion options changed from defaults: output_profile: 'kindle_voyage' verbose: 2 Resolved conversion options calibre version: 2.79.0 {'asciiize': False, 'author_sort': None, 'authors': None, 'base_font_size': 0, 'book_producer': None, 'change_justification': 'original', 'chapter': None, 'chapter_mark': 'pagebreak', 'comments': None, 'cover': None, 'debug_pipeline': None, 'dehyphenate': True, 'delete_blank_paragraphs': True, 'disable_font_rescaling': False, 'dont_compress': False, 'dont_download_recipe': False, 'duplicate_links_in_toc': False, 'embed_all_fonts': False, 'embed_font_family': None, 'enable_heuristics': False, 'expand_css': False, 'extra_css': None, 'extract_to': None, 'filter_css': None, 'fix_indents': True, 'font_size_mapping': None, 'format_scene_breaks': True, 'html_unwrap_factor': 0.4, 'input_encoding': None, 'input_profile': <calibre.customize.profiles.InputProfile object at 0x00000000053E5D30>, 'insert_blank_line': False, 'insert_blank_line_size': 0.5, 'insert_metadata': False, 'isbn': None, 'italicize_common_cases': True, 'keep_ligatures': False, 'language': None, 'level1_toc': None, 'level2_toc': None, 'level3_toc': None, 'line_height': 0, 'linearize_tables': False, 'lrf': False, 'margin_bottom': 5.0, 'margin_left': 5.0, 'margin_right': 5.0, 'margin_top': 5.0, 'markup_chapter_headings': True, 'max_toc_links': 50, 'minimum_line_height': 120.0, 'mobi_file_type': 'old', 'mobi_ignore_margins': False, 'mobi_keep_original_images': False, 'mobi_toc_at_start': False, 'no_chapters_in_toc': False, 'no_inline_navbars': True, 'no_inline_toc': False, 'output_profile': <calibre.customize.profiles.KindleVoyageOutput object at 0x00000000054DC470>, 'page_breaks_before': None, 'personal_doc': '[PDOC]', 'prefer_author_sort': False, 'prefer_metadata_cover': False, 'pretty_print': False, 'pubdate': None, 'publisher': None, 'rating': None, 'read_metadata_from_opf': None, 'remove_fake_margins': True, 'remove_first_image': False, 'remove_paragraph_spacing': False, 'remove_paragraph_spacing_indent_size': 1.5, 'renumber_headings': True, 'replace_scene_breaks': '', 'search_replace': None, 'series': None, 'series_index': None, 'share_not_sync': False, 'smarten_punctuation': False, 'sr1_replace': '', 'sr1_search': '', 'sr2_replace': '', 'sr2_search': '', 'sr3_replace': '', 'sr3_search': '', 'start_reading_at': None, 'subset_embedded_fonts': False, 'tags': None, 'test': False, 'timestamp': None, 'title': None, 'title_sort': None, 'toc_filter': None, 'toc_threshold': 6, 'toc_title': None, 'transform_css_rules': None, 'unsmarten_punctuation': False, 'unwrap_lines': True, 'use_auto_toc': False, 'verbose': 2} InputFormatPlugin: Recipe Input running Using custom recipe Queued 0 articles Python function terminated unexpectedly No articles found, aborting (Error Code: 1) Traceback (most recent call last): File "site.py", line 132, in main File "site.py", line 109, in run_entry_point File "site-packages\calibre\utils\ipc\worker.py", line 195, in main File "site-packages\calibre\gui2\convert\gui_conversion.py", line 26, in gui_convert File "site-packages\calibre\ebooks\conversion\plumber.py", line 1074, in run File "site-packages\calibre\customize\conversion.py", line 245, in __call__ File "site-packages\calibre\ebooks\conversion\plugins\recipe_ input.py", line 119, in convert File "site-packages\calibre\web\feeds\news.py", line 1001, in download File "site-packages\calibre\web\feeds\news.py", line 1176, in build_index ValueError: No articles found, aborting  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Probably the markup on the todays headlines page has changed and the recipe needs to be updated for it.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 23 
				Karma: 10 
				Join Date: Jan 2012 
				
				
				
				Device: Onyx Boox M92 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Hi Kovid, 
		
	
		
		
		
		
		
		
		
		
		
		
		
			I tried the new recipe you made for both nyt headlines and subscription and it doesn't seem to be working yet. I get this message for New York Times Headlines: [Please put long posts in spoiler tags - MODERATOR] Spoiler: 
 Would you have any ideas about what's going wrong? Best regards, Acryde Last edited by Dr. Drib; 02-17-2017 at 10:53 AM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I just tried the headlines recipe -- worked for me. You sure you using the updated recipe? Just use the builtin recipe, it is updated automatically.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Groupie 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 153 
				Karma: 902096 
				Join Date: Jul 2013 
				
				
				
				Device: Kindle Oasis 3, Kindle Voyage 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 23 
				Karma: 10 
				Join Date: Jan 2012 
				
				
				
				Device: Onyx Boox M92 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Oh I didn't know that the recipes are updated automatically, that's good to know! So, I tried again yesterday and today using built-in recipes both for NTY headlines and NYT sub but it is still not working... 
		
	
		
		
		
		
		
		
		
		
		
		
	
	For NYT headlines: Spoiler: 
 NYT: Spoiler: 
 What's going wrong? Is it possible that I modified the built-in recipe and now it's not updated automatically any more?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Use the builtin recipe, not the custom one.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#9 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 23 
				Karma: 10 
				Join Date: Jan 2012 
				
				
				
				Device: Onyx Boox M92 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			But as I said, that's what I did... I even removed my custom recipes based on NYT to be sure not to use them again but it's still not working... That's why I was wondering if it is possible that I changed these builtin recipe and that it is why it's not working anymore?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#10 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			No, you cannot change builtin recipes. It may be that the NYT serves you different content because you are in europe (I am guessing from the french localistaions in the log).
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#11 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 23 
				Karma: 10 
				Join Date: Jan 2012 
				
				
				
				Device: Onyx Boox M92 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Ok, I see. Yes indeed I'm french and am trying to retrieve these news from Paris. Thus I guess it's quite complicated to fix the code in order to make it take into account multiple locations. It's a pity but not a big deal, I'm already very happy with le monde's recipe you fixed! 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Thank you  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Emailing from Calibre fails at times | Klippy | Calibre | 10 | 05-25-2015 06:16 PM | 
| Financial Times recipe fails since Jan 24 | MightyMicro | Recipes | 3 | 01-28-2012 08:36 AM | 
| new Ynet recipie to be builtin | marbs | Recipes | 0 | 11-04-2010 05:54 AM | 
| NY Times/NY Times Headlines | nickredding | Recipes | 2 | 11-02-2010 09:13 PM | 
| NY Times Recipe in Calibre 6.36 Fails | keyrunner | Calibre | 1 | 01-28-2010 12:56 PM |