View Single Post
Old 12-16-2015, 08:50 AM   #825
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by DocBrown13 View Post
Using the latest test version I am experiencing problems downloading multi-chapter stories from https://www.literotica.com.

It seems to only download the first chapter and does not pick up on the rest, here is one of the url's I have tried https://www.literotica.com/s/an-experiment-3.
It looks like bs4 has the classes of a tag as a list instead of a string. An index needs to be added where these are being used. I can find three places that need to be changed:

Code:
Line 161:  if urlTr['class'][0] == "sl":
Line 178:  while seriesTr['class'][0] != 'ser-ttl':
Line 188:  while chapterTr is not None and chapterTr['class'][0] == 'sl':
davidfor is offline   Reply With Quote