View Single Post
Old 08-22-2021, 12:05 PM   #6366
Ser4nb2LUY6e
Connoisseur
Ser4nb2LUY6e began at the beginning.
 
Posts: 60
Karma: 10
Join Date: Jun 2017
Device: Moon+ Reader Pro on Android
Quote:
Originally Posted by JimmXinu View Post
I've opened issue #729.

If Kolbo5 (the original dev for that adapter) isn't interested or able to deal with it, I'll look into it more.
How is it generally handled when html is loaded by scripts after loading the actual page?

I looked at the adapter code and the site, and it seems to me that on the site now, the list of chapters is being loaded on demand by a script via a post request to https://wuxiaworld.site/wp-admin/admin-ajax.php

But the adapter code is simply calling:
Code:
data = self.get_request(self.url)
soup = self.make_soup(data)
and assumes after that the the html which is dynamically loaded by the script is present. Is get_request purely a simple http request, or does it provide a full environment to execute javascript?
Ser4nb2LUY6e is offline   Reply With Quote