Don't know how but this works. If you can just give hint what this does, it would be grateful.
Code:
StrTxt = HttpReq.responseText
i = InStr(StrTxt, "https://mirror.patentscope.wipo.int/patentscope/docservicepdf_pct_mirror/")
If i > 0 Then
StrTxt = Mid(StrTxt, i, Len(StrTxt) - i)
i = InStr(StrTxt, ".pdf")
If i > 0 Then
StrTxt = Left(StrTxt, i + 3)