title: How can I use youtube-dl script in my ios application?
body: <p>How can I use <a href="http://rg3.github.io/youtube-dl/index.html" rel="nofollow">youtube-dl</a> script in my ios application? Script can be in two forms: </p>
  
  <ol>
  <li>multiple *.py script files</li>
  <li>one executable file "youtube-dl" (It may run in the terminal as a simple command)</li>
  </ol>
  
  <p>I have embedded python library in project (as framework):</p>
  
  <pre><code>#include &lt;Python/Python.h&gt;
  </code></pre>
  
  <p>How do I run the youtube-dl script in the application?</p>