<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:media="http://search.yahoo.com/mrss/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>URL - 四号程序员</title>
	<atom:link href="https://www.coder4.com/archives/tag/url/feed" rel="self" type="application/rss+xml" />
	<link>https://www.coder4.com</link>
	<description>Keep It Simple and Stupid</description>
	<lastBuildDate>Mon, 13 Feb 2017 10:38:55 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>iOS从URL中解析query的key&#038;value对</title>
		<link>https://www.coder4.com/archives/5342</link>
					<comments>https://www.coder4.com/archives/5342#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Mon, 13 Feb 2017 10:38:55 +0000</pubDate>
				<category><![CDATA[iOS]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[key]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[URL]]></category>
		<category><![CDATA[value]]></category>
		<category><![CDATA[解析]]></category>
		<guid isPermaLink="false">https://www.coder4.com/?p=5342</guid>

					<description><![CDATA[Swift 3现在提供了内置方法，可以做个简单的封装： extension String { /// 假设string是url，抽取key&#38;value对 func tt_urlQueryDict() -&#62; [String: String] { var dict = [String:String]() guard let queryItems = URLComponents(string: self)?.queryItems[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/5342/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>iOS中如何对URL的param强制encode，不影响前面的http...等</title>
		<link>https://www.coder4.com/archives/5222</link>
					<comments>https://www.coder4.com/archives/5222#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Fri, 18 Nov 2016 07:45:49 +0000</pubDate>
				<category><![CDATA[iOS]]></category>
		<category><![CDATA[decode]]></category>
		<category><![CDATA[encode]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[URL]]></category>
		<guid isPermaLink="false">https://www.coder4.com/?p=5222</guid>

					<description><![CDATA[如何encode： let urlStrEncode = urlStr.stringByAddingPercentEscapesUsingEncoding(NSUTF8StringEncoding) 或者 let urlStrEncode = urlStr.stringByAddingPercentEncodingWithAllowedCharacters( NSCharacterSet.URLQueryAllowedCharacterSet()) 顺道再贴下如何decode： let[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/5222/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Python使用urllib2打开含有unicode(中文)的url时报错的问题。</title>
		<link>https://www.coder4.com/archives/4382</link>
					<comments>https://www.coder4.com/archives/4382#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Tue, 20 Jan 2015 11:36:32 +0000</pubDate>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[URL]]></category>
		<category><![CDATA[urllib2]]></category>
		<category><![CDATA[中文]]></category>
		<category><![CDATA[报错]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=4382</guid>

					<description><![CDATA[1、报错： import urllib2 url = u"http://www.baidu.com/wd=测试" urllib2.urlopen(url).read() 错误如下： Traceback (most recent call last): File "&#60;stdin&#62;", line 1, in &#60;module&#62; File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen r[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/4382/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Python相对完美的URL拼接函数</title>
		<link>https://www.coder4.com/archives/2674</link>
					<comments>https://www.coder4.com/archives/2674#comments</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Thu, 01 Dec 2011 02:05:32 +0000</pubDate>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[搜索技术]]></category>
		<category><![CDATA[URL]]></category>
		<category><![CDATA[拼接]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=2674</guid>

					<description><![CDATA[参考文章：Normalize URL path python 首先说下什么叫URL拼接，我们有这么一个HTML片段： &#60;a href="../../a.html"&#62;click me&#60;/a&#62; 做为一只辛苦的爬虫，我们要跟踪到这个click me指向的页面，假设这个片段来自：http://www.xxxdu.com，那么目标页面是什么呢？ 显然不是 http://www.xxxdu.com/../../a.html 而是 http://www.xxxdu[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/2674/feed</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
	</channel>
</rss>
