-
-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix wuxiaworld.com #2204
Fix wuxiaworld.com #2204
Conversation
this update include: * update for Bearer that in dipu-bd#1360, which will make the Bearer login work in both scraper and Browser method. * username/email and password can be used to login now. * the script will wait for "Time Until Free Chapter" msg until disappear and chapter will fully loaded PS-1: if in your account setting you enabled Auto-unlock, and script used browser method you will unlock all chapter you marked in range PS-2:dont put locked chapter in scraping range if chapter auto-unlock is disable as that will hang/enter the script into infinite loop of waiting
#self._restore_cookies() | ||
#logger.debug("cookies: Email(%s)", str(self.cookies)) | ||
#logger.debug("headers: Email(%s)", str(self.headers)) | ||
try: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove the commented out codes. this helps the codebase to stay clean.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure
but what about headless? should i turn it on?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need. it will be automatically turned off for environments with no display
The changes looks good, but there are some minor issues with linting. Check here: https://github.com/dipu-bd/lightnovel-crawler/actions/runs/7156781251/job/19575165040?pr=2204 |
will look into it |
this update include:
PS-1: if in your account setting you enabled Auto-unlock, and script used browser method you will unlock all chapter you marked in range.
PS-2:dont put locked chapter in scraping range if chapter auto-unlock is disable as that will hang/enter the script into infinite loop of waitingPS-2:its not recommended to put locked chapter in scraping range if chapter auto-unlock is disable as that will make script to wait longer to see if the chapter will unlocked or not (like 10-20sec for each locked chapter)