Open krewsayder opened 5 years ago
I was doing some basic troubleshooting and it seems the error may stem from these 2 lines.
mylink=re.compile(r"href='(.*)'") downlink=mylink.search(str(dlink[4]))[1]
The error itself looks like the below after running the 2 rows together.
Traceback (most recent call last):
File "
I went through the dlink scripts manually and only found css files with any sort of regex that resembled "href".
I believe that there have been major changes in the site from when this code was written. May have to re write the code according to the new website to extract the episode URLs.
I have it mostly working using selenium. I can share with you if you'd like.
Essentially they implemented Java Script rendering and a anti bot wait timer.
Selenium will render the JS and I added a loop to look for the required file extensions in the fetched url. If they're not there it waits and refreshes the page using selenium.
Get an error when attempting to run. Any thoughts? Using anime heaven.