Browse Source

Compatibility with new GoodReads feed

main
Yigit Colakoglu 2 years ago
parent
commit
660c340571
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      api/book.py

+ 1
- 1
api/book.py View File

@ -14,7 +14,7 @@ import random
GOODREADS_RSS_URL = os.getenv("GOODREADS_RSS_URL")
PROGRESS_REGEX = r".*<img .* alt=\"([^\"]*) by ([^\"]*)\".*src=\"([^\"]*)\".*.* is on page ([0-9]*) of ([0-9]*) of <a.*"
READ_REGEX = r".*<img .* alt=\"([^\"]*) by ([^\"]*)\".*src=\"([^\"]*)\".*has read.*"
READ_REGEX = r".*<img .* alt=\"([^\"]*) by ([^\"]*)\".*src=\"([^\"]*)\".*finished reading.*"
def loadImageB64(url):
resposne = requests.get(url)


Loading…
Cancel
Save