Live data from Hacker News

Scraping data from an app: real world example

substack.thewebscraping.club

1–10 of 26 posts

Re: Scraping data from an app: real world example

#3
post #2

Most app have some form of SSL pinning system in place which means that you have to perform additional work to allow the proxy to decrypt the HTTPS traffic.

"Most app have some form of SSL pinning system in place..."

I would like to see the data, if any, supporting this statement. I would expect some apps would use pinning, but most would not.

Google recommends against it.

https://developer.android.com/training/articles/security-ssl...

Re: Scraping data from an app: real world example

#4
post #2

Most app have some form of SSL pinning system in place which means that you have to perform additional work to allow the proxy to decrypt the HTTPS traffic.

"Most app have some form of SSL pinning system in place..." I would like to see the data, if any, supporting this statement. I would expect some apps would use pinning, but most would not. Google recommends against it. https://developer.android.com/training/articles/security-ssl...

>Caution: Certificate Pinning is not recommended for Android applications due to the high risk of future server configuration changes, such as changing to another Certificate Authority, rendering the application unable to connect to the server without receiving a client software update.

This actually applies to websites and browsers as well.

Re: Scraping data from an app: real world example

#5

Earlier quoted context omitted.

"Most app have some form of SSL pinning system in place..." I would like to see the data, if any, supporting this statement. I would expect some apps would use pinning, but most would not. Google recommends against it. https://developer.android.com/training/articles/security-ssl...

>Caution: Certificate Pinning is not recommended for Android applications due to the high risk of future server configuration changes, such as changing to another Certificate Authority, rendering the application unable to connect to the server without receiving a client software update. This actually applies to websites and browsers as well.

Why isn't there a site-controlled fallback setting for this?

Does this not make sense? Abu given website's beet interest is to continue to be reachable.

Re: Scraping data from an app: real world example

#8
post #7

I have worked with the site mentioned in the article’s API previously. I am not sure why they used the overhead of a "scraping framework" when it was just JSON they needed to parse.

Perhaps they're used to the Scrapy APIs and tools? I agree that an HTTP requests library would have been sufficient but maybe it was just easier for them to use the framework they're used to.

Re: Scraping data from an app: real world example

#9
post #2

Most app have some form of SSL pinning system in place which means that you have to perform additional work to allow the proxy to decrypt the HTTPS traffic.

Can someone suggest some resources to understand the additional work needed to decrypt the pinned https traffic?

Re: Scraping data from an app: real world example

#10
That is really nice. The last time I attempted scraping an app was using an android emulator (bluestacks), then using maybe Wireshark or Charles for getting the API endpoint. It didn't work for some reason though. I don't remember the exact error and I am kinda skeptical about app scraping being this easy.
Post reply on HN