towerofpower256 / WritingExporter.SimpleExporter

Tool for exporting interactive stories from Writing.com, and exporting them to human-readable files.
MIT License
4 stars 1 forks source link

"Access Retricted" interactive stories #4

Open towerofpower256 opened 5 years ago

towerofpower256 commented 5 years ago

Turns out that some interactive stories are "Access Retricted", meaning that stories can either be locked down to only WDC users (free or otherwise), or locked down to certain users.

Discovered while trying to export: https://www.writing.com/main/interact/item_id/1819934-Alice-the-Fat-Cheerleader

They look like the below, and HTML sample is attached. image

WDC Access Restricted sample.zip

towerofpower256 commented 5 years ago

Might need to have another kind of check, alongside the "login required" check. We'll want it to throw an exception if they try to login and it still shows up, so that it doesn't try to infinitely log in.

towerofpower256 commented 5 years ago

OK, I might be fine just adding a login check on the "get interactive details" function. That check just looks for the username and password field, which shows up for the "access restricted" page, and that function didn't have one originally. Testing now, but looks good so far.