{"id":633,"date":"2016-07-12T16:51:57","date_gmt":"2016-07-12T07:51:57","guid":{"rendered":"http:\/\/now0930.iptime.org\/wordpress\/?p=633"},"modified":"2016-07-12T16:51:57","modified_gmt":"2016-07-12T07:51:57","slug":"podcast-%ec%9e%90%eb%8f%99-%eb%8b%a4%ec%9a%b4%eb%a1%9c%eb%93%9c-%ec%8a%a4%ed%81%ac%eb%a6%bd%ed%8a%b8","status":"publish","type":"post","link":"https:\/\/now0930.pe.kr\/wordpress\/podcast-%ec%9e%90%eb%8f%99-%eb%8b%a4%ec%9a%b4%eb%a1%9c%eb%93%9c-%ec%8a%a4%ed%81%ac%eb%a6%bd%ed%8a%b8\/","title":{"rendered":"podcast \uc790\ub3d9 \ub2e4\uc6b4\ub85c\ub4dc \uc2a4\ud06c\ub9bd\ud2b8"},"content":{"rendered":"<p>\ud648\uc11c\ubc84 \uad6c\ucd95\uc73c\ub85c plexmediaserver\ub97c \uc0ac\uc6a9\ud558\uace0 \uc788\ub294\ub370 podcast\ub97c \ub4e4\uc744\ub824\uace0 \ud55c\ub2e4..<\/p>\n<p>\uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uc73c\ub85c \ub4e4\uc5b4\ub3c4 \ub418\ub294\ub370 \uc798 \ub4e3\ub358 \ud325\ube75\uc774 \ud68c\uc6d0\uac00\uc785\uc744 \uc694\uad6c\ud558\uace0 \uc788\uc5b4\uc11c&#8230;\uc9dc\uc99d\uc774 \ub0ac\ub2e4..<br \/>\n\uc804\uc5d0 \ub204\uac00 tedtalks\ub97c \uc790\ub3d9\uc73c\ub85c \ub2e4\uc6b4\ub85c\ub4dc \ubc1b\ub294 \uc2a4\ud06c\ub9bd\ud2b8\ub97c \uc791\uc131\ud588\ub294\ub370, \uac70\uae30\uc5d0\uc11c \uc880 \uc218\uc815\uc744 \ud588\ub2e4..<\/p>\n<p>3\uac00\uc9c0 \uc815\ub3c4 \ub418\ub294\ub370&#8230;<br \/>\n1. \uc9c0\uc801 \ub300\ud654\ub97c \uc704\ud55c \ub113\uace0 \uc595\uc740 \uc9c0\uc2dd<br \/>\n2. \uc774\uc9c4\uc6b0\uc758 \uc190\uc5d0\uc7a1\ud788\ub294 \uacbd\uc81c<br \/>\n3. \ud30c\ud1a0\uc758 \uacfc\ud559\uacfc \uc0ac\ub78c\ub4e4<br \/>\n4. bbc 6minute english<br \/>\n\uc815\ub3c4 \ub41c\ub2e4..<\/p>\n<p>\uc6d0\ubb38\uc740 <a href=\"http:\/\/ossguy.com\/\">\uc5ec\uae30\uc5d0\uc11c<\/a> \ub2e4\uc6b4\ub85c\ub4dc \ubc1b\uc558\ub2e4.<\/p>\n<pre class=\"lang:sh decode:true\" title=\"\ud31f\uce90\uc2a4\ud2b8 \ub2e4\uc6b4\ub85c\ub354\">#!\/bin\/sh\r\n#\r\n# TEDTalks Downloader\r\n#\r\n# Copyright (C) 2009  Denver Gingerich\r\n#\r\n# Permission to use, copy, modify, and\/or distribute this software for any\r\n# purpose with or without fee is hereby granted, provided that the above\r\n# copyright notice and this permission notice appear in all copies.\r\n#\r\n# THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\r\n# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\r\n# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\r\n# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\r\n# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\r\n# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\r\n# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\r\n\r\n\r\n#cron\uc744 \uc704\ud55c cd\r\ncd \/home\/now0930\/ExtHDD2\/PODcast\/PODcast\r\n\r\necho \"TEDTalks Downloader v0.1\"\r\necho \"by Denver Gingerich (http:\/\/ossguy.com\/)\"\r\necho\r\n\r\nwhich wget\r\nif [ $? -eq 0 ]; then\r\n\techo \"Using wget...\"\r\n\tGET_CMD=\"wget -O\"\r\nelse\r\n\twhich curl\r\n\tif [ $? -eq 0 ]; then\r\n\t\techo \"Using curl...\"\r\n\t\tGET_CMD=\"curl -L -o\"\r\n\telse\r\n\t\techo \"Could not find wget or curl\"\r\n\t\texit 2\r\n\tfi\r\nfi\r\necho\r\n\r\npodcast_address=http:\/\/minicast.imbc.com\/PodCast\/pod.aspx?code=1000671100000100000\r\nFEED=feed_podcast.xml\r\nURLS=urls_podcast\r\n\r\n\r\nDIRNAME=\uc774\uc9c4\uc6b0_\uc190\uc5d0\uc7a1\ud788\ub294\uacbd\uc81c\r\n\r\nrm -f ${FEED}\r\n${GET_CMD} ${FEED} ${podcast_address}\r\n#${GET_CMD} ${FEED} http:\/\/minicast.imbc.com\/PodCast\/pod.aspx?code=1000674100000100000 \r\n\r\n#${GET_CMD} ${FEED} http:\/\/feeds.feedburner.com\/tedtalks_video\r\n#\uc190\uc5d0 \uc7a1\ud788\ub294 \uacbd\uc81c \ub2e4\uc6b4\ub85c\ub4dc \uc8fc\uc18c.. \r\ngrep 'type=\"audio\/mpeg\"' ${FEED} | \\\r\n\r\n\r\n#\uc544\ub798\ub294 \ub2e4\uc6b4\ub85c\ub4dc \ubc1b\uc744 \uae30\uac04....\r\ngrep '201607\\|201605' | \\\r\nsed -e 's\/^ *&lt;enclosure url=\"\\([^\"]*\\)\" type=\"audio\\\/mpeg\" length=\"\" \\\/&gt;\/\\1\/g' &gt; ${URLS};\r\n\r\n\r\nmkdir -p ${DIRNAME}\r\ncd ${DIRNAME}\r\nfor line in `cat ..\/${URLS}`; do\r\n\t#SIZE=`echo ${line} | cut -d: -f1`\r\n\tURL=`echo ${line}`\r\n\r\n\t#URL=`echo ${line} | cut -d: -f2-`\r\n\tFILENAME=`basename ${URL}|tr -d '\\r'`\r\n\t\r\n\techo $URL\r\n\techo $FILENAME\r\n\r\n\tif [ ! -f \"${FILENAME}\" ]; then\r\n#\t || [ ${SIZE} -ne `ls -l \"${FILENAME}\" | awk '{print $5}'` ]; then\r\n\t\trm -f \"${FILENAME}\"\r\n\t\t${GET_CMD} \"${FILENAME}\" \"${URL}\"\r\n\tfi\r\ndone\r\n\r\n\r\ncd ..\r\n\r\n\r\n\r\n#TED talks audio\r\nrm -f ${FEED}\r\npodcast_address=http:\/\/feeds.feedburner.com\/TEDTalks_audio\r\n\r\n${GET_CMD} ${FEED} ${podcast_address}\r\n\r\n\r\ngrep '&lt;media:content' ${FEED} \\\r\n | sed -e 's\/^.*&lt;media:content url=\"\\([^\"]*\\)\" fileSize=\"\\([^\"]*\\).*$\/\\2:\\1\/g' | cut -d \"?\" -f 1 \\\r\n &gt; ${URLS}\r\n\r\nmkdir -p TEDtalks\r\ncd TEDtalks\r\nfor line in `cat ..\/${URLS}`; do\r\n\tSIZE=`echo ${line} | cut -d: -f1`\r\n\tURL=`echo ${line} | cut -d: -f2-`\r\n\tFILENAME=`basename ${URL}`\r\n\r\n\tif [ ! -f \"${FILENAME}\" ]; then\r\n#\t || [ ${SIZE} -ne `ls -l \"${FILENAME}\" | awk '{print $5}'` ]; then\r\n\t\trm -f \"${FILENAME}\"\r\n\t\t${GET_CMD} \"${FILENAME}\" \"${URL}\"\r\n\tfi\r\ndone\r\n\r\n\r\ncd ..\r\n\r\nDIRNAME=\ud30c\ud1a0\uc758\uacfc\ud559\r\n\r\nrm -f ${FEED}\r\npodcast_address=http:\/\/pod.ssenhosting.com\/rss\/scienceppl\/sciencewithpeople.xml\r\n\r\n${GET_CMD} ${FEED} ${podcast_address}\r\n\r\ngrep 'type=\"audio\/mpeg\"' ${FEED} | \\\r\ncut -d \"\\\"\" -f2 &gt; ${URLS};\r\n#sed -e 's\/^ *&lt;enclosure url=\"\\([^\"]*\\)\" type=\"audio\\\/mpeg3\" length=\"\" \\\/&gt;\/\\1\/g' &gt; ${URLS};\r\n\r\n\r\nmkdir -p ${DIRNAME}\r\ncd ${DIRNAME}\r\nfor line in `cat ..\/${URLS}`; do\r\n\t#SIZE=`echo ${line} | cut -d: -f1`\r\n\t#echo \"\ucd9c\ub825\ubd84\"\r\n\t#URL=`echo ${line} | cut -d'\"' -f2-`\r\n\tURL=`echo ${line}`\r\n\tFILENAME=`basename ${URL}|tr -d '\\r'`\r\n\r\n\t#echo ${URL}\r\n\t#echo ${FILENAME}\r\n\tif [ ! -f \"${FILENAME}\" ]; then\r\n#\t || [ ${SIZE} -ne `ls -l \"${FILENAME}\" | awk '{print $5}'` ]; then\r\n\t\trm -f \"${FILENAME}\"\r\n\t\t${GET_CMD} \"${FILENAME}\" \"${URL}\"\r\n\tfi\r\ndone\r\n\r\n\r\n&lt;&lt; 'COMMENT'\r\n\r\nCOMMENT\r\n\r\n\r\n\r\n\r\ncd ..\r\n\r\n\r\n\r\n#BBC 6minute English\r\nDIRNAME=Bbc6Min\r\n\r\nrm -f ${FEED}\r\nrm -f ${URLS}\r\npodcast_address=http:\/\/www.bbc.co.uk\/programmes\/p02pc9tn\/episodes\/downloads\r\n\r\n${GET_CMD} ${FEED} ${podcast_address}\r\n\r\nsed -e 's\/&lt;\/\\r\\n\/g' ${FEED}| grep mp3 |\\\r\ncut -d \"\\\"\" -f4 &gt; ${URLS};\r\n\r\n#sed -e 's\/^ *&lt;enclosure url=\"\\([^\"]*\\)\" type=\"audio\\\/mpeg3\" length=\"\" \\\/&gt;\/\\1\/g' &gt; ${URLS};\r\n\r\n\r\nmkdir -p ${DIRNAME}\r\ncd ${DIRNAME}\r\nfor line in `cat ..\/${URLS}`; do\r\n\t#SIZE=`echo ${line} | cut -d: -f1`\r\n\t#echo \"\ucd9c\ub825\ubd84\"\r\n\t#URL=`echo ${line} | cut -d'\"' -f2-`\r\n\tURL=`echo ${line}`\r\n\tFILENAME=`basename ${URL}|tr -d '\\r'`\r\n\r\n\t#echo ${URL}\r\n\t#echo ${FILENAME}\r\n\tif [ ! -f \"${FILENAME}\" ]; then\r\n#\t || [ ${SIZE} -ne `ls -l \"${FILENAME}\" | awk '{print $5}'` ]; then\r\n\t\trm -f \"${FILENAME}\"\r\n\t\t${GET_CMD} \"${FILENAME}\" \"${URL}\"\r\n\tfi\r\ndone\r\n\r\n\r\ncd ..\r\n\r\n#\uc9c0\ub300\ub113\uc595\r\nDIRNAME=\uc9c0\ub300\ub113\uc595\r\n\r\nrm -f ${FEED}\r\nrm -f ${URLS}\r\npodcast_address=http:\/\/pod.ssenhosting.com\/rss\/rrojia2\/rrojia2.xml\r\n\r\n${GET_CMD} ${FEED} ${podcast_address}\r\n\r\nxpath -e '\/\/enclosure\/@url' ${FEED} |\\\r\ncut -d \"\\\"\" -f2 &gt; ${URLS}\r\n\r\n#sed -e 's\/&lt;\/\\r\\n\/g' ${FEED}| grep mp3 |\\\r\n#cut -d \"\\\"\" -f4 &gt; ${URLS};\r\n\r\nmkdir -p ${DIRNAME}\r\ncd ${DIRNAME}\r\nfor line in `cat ..\/${URLS}`; do\r\n\t#SIZE=`echo ${line} | cut -d: -f1`\r\n\t#echo \"\ucd9c\ub825\ubd84\"\r\n\t#URL=`echo ${line} | cut -d'\"' -f2-`\r\n\tURL=`echo ${line}`\r\n\tFILENAME=`basename ${URL}|tr -d '\\r'`\r\n\r\n\t#echo ${URL}\r\n\t#echo ${FILENAME}\r\n\tif [ ! -f \"${FILENAME}\" ]; then\r\n#\t || [ ${SIZE} -ne `ls -l \"${FILENAME}\" | awk '{print $5}'` ]; then\r\n\t\trm -f \"${FILENAME}\"\r\n\t\t${GET_CMD} \"${FILENAME}\" \"${URL}\"\r\n\tfi\r\ndone\r\n\r\n\r\ncd ..\r\n\r\n#\uad8c\ud55c \ubcc0\uacbd..\r\nfind .\/ -type f -exec chmod 755 {} \\;<\/pre>\n<p>\ub9e4\uc77c\ub9e4\uc77c \uc2e4\ud589\ud558\uae30 \uadc0\ucc2e\uc73c\ub2c8, cron\uc5d0 \ub4f1\ub85d\ud558\uba74 \ub41c\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ud648\uc11c\ubc84 \uad6c\ucd95\uc73c\ub85c plexmediaserver\ub97c \uc0ac\uc6a9\ud558\uace0 \uc788\ub294\ub370 podcast\ub97c \ub4e4\uc744\ub824\uace0 \ud55c\ub2e4.. \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uc73c\ub85c \ub4e4\uc5b4\ub3c4 \ub418\ub294\ub370 \uc798 \ub4e3\ub358 \ud325\ube75\uc774 \ud68c\uc6d0\uac00\uc785\uc744 \uc694\uad6c\ud558\uace0 \uc788\uc5b4\uc11c&#8230;\uc9dc\uc99d\uc774 \ub0ac\ub2e4.. \uc804\uc5d0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[12],"tags":[14,56,55],"class_list":["post-633","post","type-post","status-publish","format-standard","hentry","category-12","tag-bash","tag-56","tag-55"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/now0930.pe.kr\/wordpress\/wp-json\/wp\/v2\/posts\/633","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/now0930.pe.kr\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/now0930.pe.kr\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/now0930.pe.kr\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/now0930.pe.kr\/wordpress\/wp-json\/wp\/v2\/comments?post=633"}],"version-history":[{"count":1,"href":"https:\/\/now0930.pe.kr\/wordpress\/wp-json\/wp\/v2\/posts\/633\/revisions"}],"predecessor-version":[{"id":634,"href":"https:\/\/now0930.pe.kr\/wordpress\/wp-json\/wp\/v2\/posts\/633\/revisions\/634"}],"wp:attachment":[{"href":"https:\/\/now0930.pe.kr\/wordpress\/wp-json\/wp\/v2\/media?parent=633"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/now0930.pe.kr\/wordpress\/wp-json\/wp\/v2\/categories?post=633"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/now0930.pe.kr\/wordpress\/wp-json\/wp\/v2\/tags?post=633"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}