We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm using version 2.2 and having this error.
compile group: 'com.github.igor-suhorukov', name: 'instagramscraper', version: '2.2'
--> GET https://www.instagram.com/graphql/query/?query_id=17880160963012870&id=3448224223&first=1 http/1.1 Referer: https://www.instagram.com/ X-CSRFToken: r3V9oc4uRBB8ietgHw0Ie8fWZpYmy1pb User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 Host: www.instagram.com Connection: Keep-Alive Accept-Encoding: gzip Cookie: csrftoken=r3V9oc4uRBB8ietgHw0Ie8fWZpYmy1pb; mid=XUvG4QAEAAHglX-eqrJ1G13n6Uh-; urlgen="{\"31.145.13.26\": 15924}:1hvcL4:GrPjMEkQDKKj-12wmYz7C69Uzoc"; rur=PRN --> END GET <-- 200 OK https://www.instagram.com/graphql/query/?query_id=17880160963012870&id=3448224223&first=1 (367ms) Content-Type: application/json; charset=utf-8 Vary: Accept-Language, Cookie, Accept-Encoding Content-Language: en Content-Encoding: gzip Date: Thu, 08 Aug 2019 07:02:23 GMT Strict-Transport-Security: max-age=31536000 Cache-Control: private, no-cache, no-store, must-revalidate Pragma: no-cache Expires: Sat, 01 Jan 2000 00:00:00 GMT X-Frame-Options: SAMEORIGIN content-security-policy: report-uri https://www.instagram.com/security/csp_report/; default-src 'self' https://www.instagram.com; img-src https: data: blob:; font-src https: data:; media-src 'self' blob: https://www.instagram.com https://*.cdninstagram.com https://*.fbcdn.net; manifest-src 'self' https://www.instagram.com; script-src 'self' https://instagram.com https://www.instagram.com https://*.www.instagram.com https://*.cdninstagram.com wss://www.instagram.com https://*.facebook.com https://*.fbcdn.net https://*.facebook.net 'unsafe-inline' 'unsafe-eval' blob:; style-src 'self' https://*.www.instagram.com https://www.instagram.com 'unsafe-inline'; connect-src 'self' https://instagram.com https://www.instagram.com https://*.www.instagram.com https://graph.instagram.com https://*.graph.instagram.com https://*.cdninstagram.com https://api.instagram.com wss://www.instagram.com wss://edge-chat.instagram.com https://*.facebook.com https://*.fbcdn.net https://*.facebook.net chrome-extension://boadgeojelhgndaghljhdicfkmllpafd blob:; worker-src 'self' blob: https://www.instagram.com; frame-src 'self' https://instagram.com https://www.instagram.com https://staticxx.facebook.com https://www.facebook.com https://web.facebook.com https://connect.facebook.net https://m.facebook.com; object-src 'none'; upgrade-insecure-requests X-Content-Type-Options: nosniff X-XSS-Protection: 0 x-aed: 9 Set-Cookie: csrftoken=r3V9oc4uRBB8ietgHw0Ie8fWZpYmy1pb; Domain=.instagram.com; expires=Thu, 06-Aug-2020 07:02:23 GMT; Max-Age=31449600; Path=/; Secure Set-Cookie: rur=PRN; Domain=.instagram.com; HttpOnly; Path=/; Secure Set-Cookie: urlgen="{\"31.145.13.26\": 15924}:1hvcRL:jEZIw-ZPrZcxNuYL9ncKckCmZGI"; Domain=.instagram.com; HttpOnly; Path=/; Secure X-FB-TRIP-ID: 1679558926 Connection: keep-alive Content-Length: 237 OkHttp-Sent-Millis: 1565247743716 OkHttp-Received-Millis: 1565247744083 <-- END HTTP (encoded body omitted) 2019-08-08 10:02:36.250 ERROR 14512 --- [nio-8089-exec-6] c.i.i.service.InstagramRequestService : erroorororororr..java.lang.IllegalArgumentException: Media URL not matches regexp: https://www.instagram.com/p/[\w-_]+ current value: https://www.instagram.com/p/ java.lang.IllegalArgumentException: Media URL not matches regexp: https://www.instagram.com/p/[\w-_]+ current value: https://www.instagram.com/p/ at me.postaddict.instagram.scraper.Instagram.getMediaByUrl(Instagram.java:110) at me.postaddict.instagram.scraper.Instagram.getMediaByCode(Instagram.java:123) at me.postaddict.instagram.scraper.Instagram.getAccountById(Instagram.java:83)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm using version 2.2 and having this error.
compile group: 'com.github.igor-suhorukov', name: 'instagramscraper', version: '2.2'
The text was updated successfully, but these errors were encountered: