'rawcontinue' is deprecated, you should just merge the value of the
'continue' field in the response with your request parameters to continue.
Special:ApiSandbox has a continue button if you want to see how it works.
This seems like a very inefficient way of searching for duplicates, though.
Have you looked at Special:ListDuplicatedFiles?