View Single Post
Old June 18th, 2017, 05:37 AM   #91
effCup
Vintage Idiot
 
effCup's Avatar
 
Join Date: Feb 2012
Location: History
Posts: 22,143
Thanks: 226,791
Thanked 357,042 Times in 21,638 Posts
effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+
Default

Quote:
Originally Posted by halvar View Post
I am looking for the link to report a post '..report.php?p=nnn' to extract the post number. If the link is not found - bam!

It may be that the html file was corrupt.

If this happens again, please send me the html files before you retry.
Code:
2017-06-18 17:20:01 INFO: 2 threads specified: [268142, 268227] 
2017-06-18 17:20:01 INFO: Starting Thread: 268142 
2017-06-18 17:20:03 INFO: HTTP/1.1 200 OK 
2017-06-18 17:20:03 INFO: IDstack cookie found. Successfully logged in to VEF 
2017-06-18 17:20:03 INFO: Using existing target folder :D:\saved from vef\t268142-Mystery_Followup_Vintage_blonde_in_ripped_dress_M 
2017-06-18 17:20:03 INFO: Download forum page: http://vintage-erotica-forum.com/t268142-p1-x.html to D:\saved from vef\t268142-Mystery_Followup_Vintage_blonde_in_ripped_dress_M\t268142-p1-Mystery_Followup_Vintage_blonde_in_ripped_dress_M.html 
2017-06-18 17:20:06 INFO: End of Thread reached - no next page link found -  
2017-06-18 17:20:06 SEVERE: Index: 0, Size: 0 
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.rangeCheck(Unknown Source)
	at java.util.ArrayList.get(Unknown Source)
	at vef.imgrescue.ImageLinkProcessor.lambda$getPosts$9(ImageLinkProcessor.java:149)
	at java.util.stream.Collectors.lambda$toMap$58(Unknown Source)
	at java.util.stream.ReduceOps$3ReducingSink.accept(Unknown Source)
	at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)
	at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
	at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
	at java.util.stream.ReferencePipeline.collect(Unknown Source)
	at vef.imgrescue.ImageLinkProcessor.getPosts(ImageLinkProcessor.java:146)
	at vef.imgrescue.ImageLinkProcessor.processForumPages(ImageLinkProcessor.java:39)
	at vef.imgrescue.VEFImageRescue.start(VEFImageRescue.java:100)
	at vef.imgrescue.Gui.lambda$null$6(Gui.java:248)
	at java.lang.Thread.run(Unknown Source)
Saved files/folder output here, before any re-starts.

The html tags seem "whole", but you're right, the report button(s) are missing from that page's source.

the post no. appears in several places (in a complete page, I mean), I think all buttons:

reply buttons
showpost buttons
report buttons (what you're currently using)
edit buttons

Sorry, I haven't really studied the html structure.

Last edited by effCup; June 18th, 2017 at 05:43 AM..
effCup is offline   Reply With Quote
The Following 10 Users Say Thank You to effCup For This Useful Post: