how can i get the href tag in beautifulsoup?
<p>I am using beautifulsoup of python </p>

<pre><code>&lt;div class="test1"&gt;
   &lt;a href="www.google.com" blur blur~&gt; text &lt;/a&gt;
&lt;/div&gt;

&lt;div class="test2"&gt;
   &lt;a href="www.stackoverflow.com" blur blur~&gt; text &lt;/a&gt;
&lt;/div&gt;

&lt;div class="test3"&gt;
   &lt;a href="www.msn.com" blur blur~&gt; text &lt;/a&gt;
&lt;/div&gt;

&lt;div class="test4"&gt;
   &lt;a href="www.naver.com" blur blur~&gt; text &lt;/a&gt;
&lt;/div&gt;

&lt;div class="test5"&gt;
   &lt;a href="www.ios.com" blur blur~&gt; text &lt;/a&gt;
&lt;/div&gt;
</code></pre>

<p>like this situation, i wanna get a specific href info. For example how can i use the class name, when i need a href='www.ios.com'.</p>

<p>HTML file has more than 1000 'a' selector and included url address is dynamic. </p>

<p>how can i get this? please answer me T.T</p>