Skip to content

aerits/Better-Novelupdates-RSS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Better Novelupdates RSS

Note

This repo is unmaintained, I stopped using it. I’m pretty sure it broke a while ago.

About

Better Novelupdates RSS is a command line script that allows you to mark chapters on novelupdates.com novels as read.

BNR (better novelupdates rss) is useful if you follow novelupdates from an rss reader and don’t want to navigate away from the rss feed to mark new chapters as read.

Dependencies

BNR requires you to have w3m and python installed. w3m was the only way I could find that wasn’t automatically blocked by novelupdates.com.

Usage

git clone https://github.com/aerits/Better-Novelupdates-RSS
cd better-novelupdates-rss/src

# sign into novelupdates in w3m
w3m novelupdates.com

python main.py [INSERT LINK TO NOVEL ON NOVELUPDATES] [INSERT LINK TO CHAPTER ON NOVELUDPATES]

# example
python main.py https://www.novelupdates.com/series/ikemen-ni-tenseishita-kedo-cheat-ha-dekimasenseshita/ https://www.novelupdates.com/extnu/7175080/

You can create a script to run on your feed reader to automatically run this. Here is an example I wrote in elisp for the elfeed reader in Emacs.

(defun nu-read ()
  "mark novelupdates chapter as read
  in the elfeed entry and navigate
  to the chapter in eww"
  (interactive)
  (progn (re-search-forward "novelupdates.com/series")
	 (setq series (thing-at-point 'url))
	 ;; (message series)
	 (re-search-backward "novelupdates.com/extnu")
	 (setq chapter (thing-at-point 'url))
	 ;; (message chapter)
	 (message
	  (shell-command-to-string (concat "python ~/Documents/git/better-novelupdates-rss/src/main.py "
					   (concat series
						   (concat " " chapter)))))
	 (eww (thing-at-point 'url))))
(defun nu-mark-read ()
  "do the same thing as the last
  function except without eww"
  (interactive)
  (progn (re-search-forward "novelupdates.com/series")
	 (setq series (thing-at-point 'url))
	 ;; (message series)
	 (re-search-backward "novelupdates.com/extnu")
	 (setq chapter (thing-at-point 'url))
	 ;; (message chapter)
	 (message
	  (shell-command-to-string (concat "python ~/Documents/git/better-novelupdates-rss/src/main.py "
					   (concat series
						   (concat " " chapter)))))))

License

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to <http://unlicense.org/>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published