How to go to next page using beautiful soup?
<p>I have to extract information from 5 pages from a website. 
At the end of every page there is "NEXT PAGE" button. this is the html code of the next button -</p>

<pre><code>&lt;li class="pagination__next" data-reactid=".0.3.0.0.1.1.1.3.2"&gt;
    &lt;span class="icon-arrowright-thin--pagination" data-reactid=".0.3.0.0.1.1.1.3.2.0"&gt;
        ::before
    &lt;/span&gt;
&lt;/li&gt;
</code></pre>

<p>I am using beautifulsoup4 to extract info. How do I navigate to next page.
Can I use mechanize to navigate for this sort</p>