Last active
September 4, 2017 06:18
-
-
Save angelworm/5424853 to your computer and use it in GitHub Desktop.
Tumblrはログイン無しでも読み込める
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSData *data = [NSURLConnection sendSynchronousRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://tumblr.com"]] | |
returningResponse:nil | |
error:nil]; | |
[data writeToFile:@"text.html" atomically:YES]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment