Add SunTV support
diff --git a/README.md b/README.md
index 3130a33fc2..911197ac70 100644
--- a/README.md
+++ b/README.md
@@ -71,6 +71,7 @@ Fork me on GitHub: <https://github.com/soimort/you-get>
 * Sohu (搜狐视频) <http://tv.sohu.com>
 * SongTaste <http://www.songtaste.com>
 * SoundCloud <http://soundcloud.com>
+* SunTV (阳光卫视) <http://www.isuntv.com/>
 * TED <http://www.ted.com>
 * Tudou (土豆) <http://www.tudou.com>
 * Tumblr <http://www.tumblr.com>
diff --git a/src/you_get/common.py b/src/you_get/common.py
index 8cca99e687..9da66c35a5 100755
--- a/src/you_get/common.py
+++ b/src/you_get/common.py
@@ -1023,6 +1023,7 @@ def url_to_module(url):
         sohu,
         songtaste,
         soundcloud,
+        suntv,
         ted,
         theplatform,
         tucao,
@@ -1082,6 +1083,7 @@ def url_to_module(url):
         'instagram': instagram,
         'iqilu': iqilu,
         'iqiyi': iqiyi,
+        'isuntv': suntv,
         'joy': joy,
         'jpopsuki': jpopsuki,
         'kankanews': bilibili,
diff --git a/src/you_get/extractors/__init__.py b/src/you_get/extractors/__init__.py
index 419169cf9f..e460772b57 100755
--- a/src/you_get/extractors/__init__.py
+++ b/src/you_get/extractors/__init__.py
@@ -46,6 +46,7 @@
 from .sohu import *
 from .songtaste import *
 from .soundcloud import *
+from .suntv import *
 from .theplatform import *
 from .tucao import *
 from .tudou import *
diff --git a/src/you_get/extractors/suntv.py b/src/you_get/extractors/suntv.py
new file mode 100644
index 0000000000..0b50644038
--- /dev/null
+++ b/src/you_get/extractors/suntv.py
@@ -0,0 +1,40 @@
+#!/usr/bin/env python
+
+__all__ = ['suntv_download']
+
+from ..common import *
+import urllib
+import re
+
+def suntv_download(url, output_dir = '.', merge = True, info_only = False, **kwargs):
+    if re.match(r'http://www.isuntv.com/\w+', url):
+        API_URL = "http://www.isuntv.com/ajaxpro/SunTv.pro_vod_playcatemp4,App_Web_playcatemp4.ascx.9f08f04f.ashx"
+        
+        itemid = match1(url, r'http://www.isuntv.com/pro/ct(\d+).html')
+        values = {"itemid" : itemid, "vodid": ""}
+        
+        data = str(values).replace("'", '"')
+        data = data.encode('utf-8')
+        req = urllib.request.Request(API_URL, data)
+        req.add_header('AjaxPro-Method', 'ToPlay')  #important!
+        resp = urllib.request.urlopen(req)
+        respData = resp.read()
+        respData = respData.decode('ascii').strip('"')  #Ahhhhhhh!
+    
+        video_url = 'http://www.isuntv.com' + str(respData)
+        
+        html = get_content(url, decoded=False)
+        html = html.decode('gbk')
+        title = match1(html, '<title>([^<]+)').strip()  #get rid of \r\n s
+        
+        type_ = ''
+        size = 0
+        type, ext, size = url_info(video_url)
+        
+        print_info(site_info, title, type, size)
+        if not info_only:
+            download_urls([url], title, 'mp4', size, output_dir, merge=merge)
+
+site_info = "SunTV"
+download = suntv_download
+download_playlist = playlist_not_supported('suntv')

阳光卫视，要是大陆能看则不错。

要了亲命了，上游下游写两遍。

Gayhub还不让保留两个project，只能写完了发PR立即删掉。

```
python3 you-get http://www.isuntv.com/pro/ct3124.html
Video Site: SunTV
Title:      王利波：掩埋
Type:       Unknown type (None)
Size:       154.26 MiB (161756715 Bytes)

Downloading 王利波：掩埋.mp4 ...
  0.0% (  0.0/154.3MB) [                                        ] 1/1
```

Stream没有格式，所以是None。但是下载来就没事了。

<!-- Reviewable:start -->

[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/soimort/you-get/699)

<!-- Reviewable:end -->
