<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Usage</title><link>https://sourceforge.net/p/catchhttp/wiki/Usage/</link><description>Recent changes to Usage</description><atom:link href="https://sourceforge.net/p/catchhttp/wiki/Usage/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 23 Dec 2013 12:42:21 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/catchhttp/wiki/Usage/feed" rel="self" type="application/rss+xml"/><item><title>Usage modified by David Moreno</title><link>https://sourceforge.net/p/catchhttp/wiki/Usage/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -11,7 +11,8 @@
 The only mandatory argument is the MIME type (*mp3*, *avi*, etc.) of the files you want to get. You can specify multiple types using commas without spaces:
 &amp;nbsp;

-&gt; png,mp4,jpg
+    :::bash
+    png,mp4,jpg

 &amp;nbsp;
 If the type is *mp3* the extracted files will be renamed using his id3v2 tags.
@@ -20,7 +21,8 @@

 &amp;nbsp;

-&gt; sudo catch-http png
+    :::bash
+    sudo catch-http png

 &amp;nbsp;

@@ -30,7 +32,8 @@

 &amp;nbsp;

-&gt; sudo catch-http -d ~/images/ png
+    :::bash
+    sudo catch-http -d ~/images/ png

 &amp;nbsp;

@@ -38,7 +41,8 @@

 &amp;nbsp;

-&gt; sudo catch-http -d ~/images/ png,jpg
+    :::bash
+    sudo catch-http -d ~/images/ png,jpg

 *Please note that the type definitions are separated using a comma without spaces*
 &amp;nbsp;
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Moreno</dc:creator><pubDate>Mon, 23 Dec 2013 12:42:21 -0000</pubDate><guid>https://sourceforge.net74a963a30245c9ef71c4dd2d2027124723edc2cd</guid></item><item><title>Usage modified by David Moreno</title><link>https://sourceforge.net/p/catchhttp/wiki/Usage/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="usage"&gt;Usage&lt;/h1&gt;
&lt;p&gt;You need to follow this steps:&lt;br /&gt;
&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open a terminal and run &lt;strong&gt;catch-http&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Go to your browser and load the pages that contains the data you want to extract (wait until the data is fully downloaded)&lt;/li&gt;
&lt;li&gt;Return to the terminal and finish the capture pressing &lt;strong&gt;CTRL+C&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The only mandatory argument is the MIME type (&lt;em&gt;mp3&lt;/em&gt;, &lt;em&gt;avi&lt;/em&gt;, etc.) of the files you want to get. You can specify multiple types using commas without spaces:&lt;br /&gt;
&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;png,mp4,jpg&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;br /&gt;
If the type is &lt;em&gt;mp3&lt;/em&gt; the extracted files will be renamed using his id3v2 tags.&lt;/p&gt;
&lt;p&gt;So, if you want to save the PNG's files from &lt;em&gt;foo.org&lt;/em&gt;, you can issue this command:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;sudo catch-http png&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;After that, browse to &lt;em&gt;foo.org&lt;/em&gt;, wait until the images are downloaded and do a &lt;strong&gt;CTRL+C&lt;/strong&gt; on the &lt;strong&gt;catch-http&lt;/strong&gt; terminal. Now, you have a set of images on your current directory called &lt;em&gt;file-0.png&lt;/em&gt;, &lt;em&gt;file-1.png&lt;/em&gt;, etc.&lt;/p&gt;
&lt;p&gt;If you want to send the files to your images directory, you can do:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;sudo catch-http -d ~/images/ png&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Or, if you want to save the PNG's and JPG's:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;sudo catch-http -d ~/images/ png,jpg&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;em&gt;Please note that the type definitions are separated using a comma without spaces&lt;/em&gt;&lt;br /&gt;
&amp;nbsp;&lt;/p&gt;
&lt;h1 id="options"&gt;Options&lt;/h1&gt;
&lt;h5 id="-i-interface"&gt;-i, --interface&lt;/h5&gt;
&lt;p&gt;&lt;strong&gt;catch-http&lt;/strong&gt; tries to get the default network interface to capture the packets, but if you're using another interface to browse, you can specify it with this option.&lt;br /&gt;
&amp;nbsp;&lt;/p&gt;
&lt;h5 id="-d-directory"&gt;-d, --directory&lt;/h5&gt;
&lt;p&gt;This option indicates the directory where the extracted files will be moved.&lt;br /&gt;
&amp;nbsp;&lt;/p&gt;
&lt;h5 id="-s-single"&gt;-s, --single&lt;/h5&gt;
&lt;p&gt;By default, &lt;strong&gt;catch-http&lt;/strong&gt; &lt;em&gt;digs&lt;/em&gt; on the HTTP headers to get the real MIME type of the files, but if you want to check the headers only once use this option.&lt;br /&gt;
&amp;nbsp;&lt;/p&gt;
&lt;h5 id="-p-preserve"&gt;-p, --preserve&lt;/h5&gt;
&lt;p&gt;&lt;strong&gt;catch-http&lt;/strong&gt; creates a temporal file on &lt;em&gt;/tmp/&lt;/em&gt; to save the captured connections and deletes it when the job is done, if you don't want to delete the connections directory use this option.&lt;br /&gt;
&amp;nbsp;&lt;/p&gt;
&lt;h5 id="-t-tolerance"&gt;-t, --tolerance&lt;/h5&gt;
&lt;p&gt;Sometimes, the first line of a HTTP header comes with extra bytes before it. If you're having problems getting the MIME types of the captured files, try to increment this value (the default is 23, so use higher values).&lt;br /&gt;
&amp;nbsp;&lt;/p&gt;
&lt;h5 id="-m-mime"&gt;-m, --mime&lt;/h5&gt;
&lt;p&gt;Shows a list of the recognized MIME types used to filter your requests.&lt;br /&gt;
&amp;nbsp;&lt;/p&gt;
&lt;h5 id="-q-quiet"&gt;-q, --quiet&lt;/h5&gt;
&lt;p&gt;Don't displays the informative messages.&lt;br /&gt;
&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Moreno</dc:creator><pubDate>Mon, 23 Dec 2013 12:25:54 -0000</pubDate><guid>https://sourceforge.neteb38c274c663ea13ad8a2cf9d92c7a79faab4757</guid></item></channel></rss>