Android Download the demo of images in Instagram dynamics

Source: Internet
Author: User

Recently fascinated by the brush Instagram, inside a lot of photos are particularly like, so want to share to friends or micro Bo, but the wall is not know the wall of bitterness ah. So we can only find ways to save them to the local, both to do wallpaper and to share to others.

I find that the dynamics of each ins can be copied dynamically on the app.

So I tried to copy the URL and open it to my Computer browser.

Https://www.instagram.com/p/BFsJD43xhwd/review elements will find each picture under the same label <meta property= "Og:image" content= "https:// Igcdn-photos-d-a.akamaihd.net/hphotos-ak-xaf1/t51.2885-15/e35/13277704_613747598790251_23140689_n.jpg?ig_cache _key=mti1ntqxodi0ntc3mtgyodi1mw%3d%3d.2 "> and the content of the connection is the image of the address that is very good to do as long as the three steps can be quickly downloaded to ins in the picture 1, Manually copy the dynamic corresponding address of the image you want to download and pass it as a parameter to the next analytic function 2, download to the corresponding HTML file according to the address, and then use regular expression pattern pattern = Pattern.compile ("<meta property=\ "Og:image\" content=\ "(. *?) \ "/>") can find the image corresponding to the address 3, the last can be used urlconnection and io stream download Picture This demo has been placed on GitHub welcome download use. https://github.com/KinsomyJS/down_instagram_picture

Android Download the demo of images in Instagram dynamics

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.