![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Feb 2019
Device: RIDIPAGE
|
How to use "search_replace" code in advanced fetch news mode??
I want to use Search & Replace function during fetching the news.
When I try to convert the book, I can activate the search and replace function. I also can check it out in "job details" ,like "search_replace: '[["\x20", " "]]'." code in it. I don't know how to use python because I am not programmer at all. But I googled so many threads and tried to use python code. However, it keeps showing ' 'search_replace': None,' in job details. I couldn't find the solution.. Would you please help me to find the way how to put the code of search&replace from '\x20' to' : ' while fetching news to the advanced recipe? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,356
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You use conversion_options in the recipe
Something like conversion_options = {'sr1_search': 'X', 'sr1_replace': 'Y'} |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Feb 2019
Device: RIDIPAGE
|
![]()
Actually Kindle App on Android or iPhone has a bug in which Korean letter's word spacing between the letters are totally ignored when sending docs by send to kindle function.
Your solution fixed the whole problem. Thank you so much! ![]() ![]() ![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
"The Hindu" Fetch News Builtin Recipe Not Working | gids | Recipes | 1 | 01-13-2017 07:09 AM |
How do I remove things like "Fetch News" from my calibre? | 20LEgend | Calibre | 3 | 03-02-2012 03:29 PM |
how do i fetch news with "en" tagged as language - kindle3 | schuster | Recipes | 0 | 05-09-2011 06:51 AM |
Caliber 0.6.12 - "Fetch News" problem | berniej | Calibre | 13 | 09-19-2009 10:39 AM |
Questions on libprs500 "fetch news" function | SpiderMatt | Calibre | 10 | 12-07-2007 04:17 AM |