Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 12-16-2019, 06:36 AM   #1
alan smith
Junior Member
alan smith began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2019
Device: kindle
Something Wrong with the recipe of globaltimes

the Globaltimes can not be download for several days
please help,thanks.

Code:
抓取新闻,来源于 Global Times
Conversion options changed from defaults:
  output_profile: u'kindle_pw3'
  verbose: 2
Resolved conversion options
calibre version: 4.6.0
{'asciiize': False,
 'author_sort': None,
 'authors': None,
 'base_font_size': 0,
 'book_producer': None,
 'change_justification': u'original',
 'chapter': None,
 'chapter_mark': u'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 0x10fd317d0>,
 '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': u'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.KindlePaperWhite3Output object at 0x10fd31fd0>,
 'page_breaks_before': None,
 'personal_doc': u'[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': u'',
 'search_replace': None,
 'series': None,
 'series_index': None,
 'share_not_sync': False,
 'smarten_punctuation': False,
 'sr1_replace': u'',
 'sr1_search': u'',
 'sr2_replace': u'',
 'sr2_search': u'',
 'sr3_replace': u'',
 'sr3_search': u'',
 '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
Downloading recipe urn: builtin:globaltimes
Trying to get latest version of recipe: globaltimes
Using user agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36
found 'FM slams US decision to expel Chinese diplomats'
Adding URL https://www.globaltimes.cn/content/1173686.shtml

found 'China-EU relations standing at new historical starting point: Chinese FM'
Adding URL https://www.globaltimes.cn/content/1173669.shtml

found 'Wang Yi: 2019 is a year of harvest in China-Kazakhstan ties, China-Norway relations 'back on track''
Adding URL https://www.globaltimes.cn/content/1173665.shtml

found 'Building Laos-China community with shared future brings benefits to peoples: Lao official'
Adding URL https://www.globaltimes.cn/content/1173632.shtml

found 'Chinese NPC Tibetan delegation visits Belgium'
Adding URL https://www.globaltimes.cn/content/1173631.shtml

found 'Media delegates in 10+3 framework discuss how to build a prosperous Asia'
Adding URL https://www.globaltimes.cn/content/1173597.shtml

found 'Arsenal match off air amid furor over Ozil's Xinjiang remarks'
Adding URL https://www.globaltimes.cn/content/1173593.shtml

found 'China welcomes Sri Lanka's working committee to accelerate port city project'
Adding URL https://www.globaltimes.cn/content/1173533.shtml

found 'China-CEEC cooperation entering new phase: Chinese FM'
Adding URL https://www.globaltimes.cn/content/1173528.shtml

found 'Slovenia, China eye higher level cooperation'
Adding URL https://www.globaltimes.cn/content/1173524.shtml

found 'Chinese premier calls for enhanced cooperation with Micronesia on climate change, fisheries'
Adding URL https://www.globaltimes.cn/content/1173458.shtml

found 'Xi holds talks with Micronesian president'
Adding URL https://www.globaltimes.cn/content/1173426.shtml

found 'China counters US bullying, upholds communiqués: FM'
Adding URL https://www.globaltimes.cn/content/1173424.shtml

found 'Developing countries reject West's human rights double standards'
Adding URL https://www.globaltimes.cn/content/1173420.shtml

found 'Anticipated US deal shows improved understanding of China's principle: observer'
Adding URL https://www.globaltimes.cn/content/1173405.shtml

found 'Yearender: US-China subnational ties robust in 2019 despite crosscurrents'
Adding URL https://www.globaltimes.cn/content/1173393.shtml

found 'China big but nonthreatening like panda: FM'
Adding URL https://www.globaltimes.cn/content/1173328.shtml

found 'Chinese envoy calls for efforts to promote global ocean governance'
Adding URL https://www.globaltimes.cn/content/1173274.shtml

found 'China and India should aim to safeguard world order along with multilateralism'
Adding URL https://www.globaltimes.cn/content/1173692.shtml

found 'Pakistani experts see great economic potential of SAARC'
Adding URL https://www.globaltimes.cn/content/1173674.shtml

found 'West Australian grain harvest slumps after bumper crop year before'
Adding URL https://www.globaltimes.cn/content/1173672.shtml

found 'New Zealand observes 1-minute silence for White Island victims'
Adding URL https://www.globaltimes.cn/content/1173663.shtml

found 'US nuke envoy offers to hold talks with DPRK'
Adding URL https://www.globaltimes.cn/content/1173656.shtml

found 'Building Laos-China community with shared future brings benefits to peoples: Lao official'
Adding URL https://www.globaltimes.cn/content/1173632.shtml

found 'Kazakhstan to assemble Russian transport helicopters'
Adding URL https://www.globaltimes.cn/content/1173622.shtml

found 'Child killed as quake strikes southern Philippines'
Adding URL https://www.globaltimes.cn/content/1173579.shtml

found 'Six dead in protests against Indian citizenship law'
Adding URL https://www.globaltimes.cn/content/1173580.shtml

found 'Search for missing bodies on White Island yields no results as of yet'
Adding URL https://www.globaltimes.cn/content/1173564.shtml

found 'China welcomes Sri Lanka's working committee to accelerate port city project'
Adding URL https://www.globaltimes.cn/content/1173533.shtml

found 'Death toll reaches 16, two bodies still missing: New Zealand police'
Adding URL https://www.globaltimes.cn/content/1173532.shtml

found 'India to set up third rocket launchpad'
Adding URL https://www.globaltimes.cn/content/1173530.shtml

found '6.9-magnitude earthquake rattles southern Philippines'
Adding URL https://www.globaltimes.cn/content/1173527.shtml

found 'Bus crash kills at least 14 in central Nepal'
Adding URL https://www.globaltimes.cn/content/1173525.shtml

found 'DPRK to develop 'another strategic weapon' to counter US threat'
Adding URL https://www.globaltimes.cn/content/1173522.shtml

found 'White Island's volcano eruption death toll hits 15, two still missing'
Adding URL https://www.globaltimes.cn/content/1173505.shtml

found 'DPRK chief of general staff says army ready to carry out any decision by top leader'
Adding URL https://www.globaltimes.cn/content/1173501.shtml

Python function terminated unexpectedly: HTTP Error 404: Not Found
Traceback (most recent call last):
  File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 163, in main
    return run_entry_point()
  File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 121, in run_entry_point
    return getattr(pmod, func)()
  File "site-packages/calibre/utils/ipc/worker.py", line 208, in main
  File "site-packages/calibre/gui2/convert/gui_conversion.py", line 36, in gui_convert_recipe
  File "site-packages/calibre/gui2/convert/gui_conversion.py", line 28, in gui_convert
  File "site-packages/calibre/ebooks/conversion/plumber.py", line 1110, in run
  File "site-packages/calibre/customize/conversion.py", line 246, in __call__
  File "site-packages/calibre/ebooks/conversion/plugins/recipe_input.py", line 139, in convert
  File "site-packages/calibre/web/feeds/news.py", line 1022, in download
  File "site-packages/calibre/web/feeds/news.py", line 1190, in build_index
  File "<string>", line 55, in parse_index
  File "site-packages/calibre/web/feeds/news.py", line 675, in index_to_soup
  File "site-packages/mechanize/_mechanize.py", line 238, in open_novisit
  File "site-packages/mechanize/_mechanize.py", line 309, in _mech_open
mechanize._response.httperror_seek_wrapper: HTTP Error 404: Not Found
alan smith is offline   Reply With Quote
Old 12-19-2019, 12:38 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,842
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...529329213a51d5
kovidgoyal is online now   Reply With Quote
Advert
Old 12-21-2019, 12:35 AM   #3
alan smith
Junior Member
alan smith began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2019
Device: kindle
the new recipes works very well,thank you so much!
alan smith is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
help for the recipe of globaltimes alan smith Recipes 4 04-24-2019 09:48 PM
Recipe works when mocked up as Python file, fails when converted to Recipe ode Recipes 7 09-04-2011 04:57 AM
Recipe works for 50% , what is wrong? snoeki Recipes 4 07-19-2011 12:45 PM
The Robbery: A Short Story that goes wrong for all the wrong reasons brinlingfm Self-Promotions by Authors and Publishers 0 03-22-2011 08:20 AM
Dates wrong on scheduled news: what am I doing wrong? Rod Laird Calibre 5 11-05-2010 06:06 PM


All times are GMT -4. The time now is 03:38 AM.


MobileRead.com is a privately owned, operated and funded community.