Change matching order
This commit is contained in:
@@ -64,11 +64,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if ([type isEqualToString:@"c"]) {
|
} else if ([type isEqualToString:@"c"]) {
|
||||||
NSData *m_json = [@"\"channelId\":\"" dataUsingEncoding:NSUTF8StringEncoding];
|
NSData *m_head = [@"<meta itemprop=\"channelId\" content=\"" dataUsingEncoding:NSUTF8StringEncoding];
|
||||||
NSRange tmp = [html rangeOfData:m_json options:0 range:NSMakeRange(0, html.length)];
|
NSRange tmp = [html rangeOfData:m_head options:0 range:NSMakeRange(0, html.length)];
|
||||||
if (tmp.location == NSNotFound) {
|
if (tmp.location == NSNotFound) {
|
||||||
NSData *m_head = [@"<meta itemprop=\"channelId\" content=\"" dataUsingEncoding:NSUTF8StringEncoding];
|
NSData *m_json = [@"\"channelId\":\"" dataUsingEncoding:NSUTF8StringEncoding];
|
||||||
tmp = [html rangeOfData:m_head options:0 range:NSMakeRange(0, html.length)];
|
tmp = [html rangeOfData:m_json options:0 range:NSMakeRange(0, html.length)];
|
||||||
}
|
}
|
||||||
NSUInteger start = tmp.location + tmp.length;
|
NSUInteger start = tmp.location + tmp.length;
|
||||||
NSUInteger end = html.length - start;
|
NSUInteger end = html.length - start;
|
||||||
|
|||||||
@@ -70,7 +70,7 @@
|
|||||||
</dict>
|
</dict>
|
||||||
</array>
|
</array>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>14642</string>
|
<string>14644</string>
|
||||||
<key>LSApplicationCategoryType</key>
|
<key>LSApplicationCategoryType</key>
|
||||||
<string>public.app-category.news</string>
|
<string>public.app-category.news</string>
|
||||||
<key>LSMinimumSystemVersion</key>
|
<key>LSMinimumSystemVersion</key>
|
||||||
|
|||||||
Reference in New Issue
Block a user