Popular Python recipes tagged "meta:requires=bs4"http://code.activestate.com/recipes/langs/python/tags/meta:requires=bs4/2015-07-29T18:28:25-07:00ActiveState Code RecipesConvert HTML text to PDF with Beautiful Soup and xtopdf (Python) 2015-01-28T22:20:53-08:00Vasudev Ramhttp://code.activestate.com/recipes/users/4173351/http://code.activestate.com/recipes/579014-convert-html-text-to-pdf-with-beautiful-soup-and-x/ <p style="color: grey"> Python recipe 579014 by <a href="/recipes/users/4173351/">Vasudev Ram</a> (<a href="/recipes/tags/file/">file</a>, <a href="/recipes/tags/format/">format</a>, <a href="/recipes/tags/pdf/">pdf</a>, <a href="/recipes/tags/pdfwriter/">pdfwriter</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/reportgeneration/">reportgeneration</a>, <a href="/recipes/tags/reporting/">reporting</a>, <a href="/recipes/tags/reportlab/">reportlab</a>, <a href="/recipes/tags/xtopdf/">xtopdf</a>). </p> <p>This recipe shows how to convert the text in an HTML document to PDF. It uses the Beautiful Soup and xtopdf Python libraries. Beautiful Soup is a library for HTML parsing and content extraction. xtopdf is a library for PDF creation from other formats, including text and many others.</p> Python script to login to a website and convert required html page to pdf (Python) 2015-07-29T18:28:25-07:00Emil george jameshttp://code.activestate.com/recipes/users/4191910/http://code.activestate.com/recipes/579081-python-script-to-login-to-a-website-and-convert-re/ <p style="color: grey"> Python recipe 579081 by <a href="/recipes/users/4191910/">Emil george james</a> (<a href="/recipes/tags/bs4/">bs4</a>, <a href="/recipes/tags/pyhon/">pyhon</a>, <a href="/recipes/tags/pyqt4/">pyqt4</a>, <a href="/recipes/tags/python_scripts/">python_scripts</a>, <a href="/recipes/tags/urllib2/">urllib2</a>). </p> <p>This login script will allow you to login a website with python. After logging in, You now have access to all the pages for “members only” accessed with python and it can convert the required pages to pdf format save automatically in your /home/.</p> <p>In this script i use anna university official website to get the exam result after that it convert the result page into pdf format and save to /home/.</p> <p>Modules used :</p> <ol> <li><p>urllib2</p></li> <li><p>BeautifulSoup(bs4)</p></li> <li><p>requests</p></li> <li><p>sys</p></li> <li><p>PyQt4</p></li> </ol> <p><a href="https://emilgeorgejames.wordpress.com/2015/07/15/python-script-to-login-to-a-website-and-convert-required-html-page-to-pdf/" rel="nofollow">https://emilgeorgejames.wordpress.com/2015/07/15/python-script-to-login-to-a-website-and-convert-required-html-page-to-pdf/</a></p> asskick.py (Python) 2014-09-20T08:16:57-07:00p@ntut$http://code.activestate.com/recipes/users/4183895/http://code.activestate.com/recipes/578940-asskickpy/ <p style="color: grey"> Python recipe 578940 by <a href="/recipes/users/4183895/">p@ntut$</a> (<a href="/recipes/tags/kickass/">kickass</a>, <a href="/recipes/tags/search/">search</a>, <a href="/recipes/tags/torrents/">torrents</a>). </p> <p>URL: <a href="http://pantuts.com/2014/09/20/asskick-py-python-script-search-download-torrents-kickass/" rel="nofollow">http://pantuts.com/2014/09/20/asskick-py-python-script-search-download-torrents-kickass/</a></p> <p>Python script to search and download torrents from KickAss torrents.</p> Manga Downloader (Python) 2013-07-16T21:44:47-07:00AJay Kumarhttp://code.activestate.com/recipes/users/4187119/http://code.activestate.com/recipes/578609-manga-downloader/ <p style="color: grey"> Python recipe 578609 by <a href="/recipes/users/4187119/">AJay Kumar</a> (<a href="/recipes/tags/scraping/">scraping</a>). </p> <p>Downloads Manga (Japanese Comics) It will get the images based on search and url There's an exe available @ Sourceforge Modules: 1.bs4 2.easygui</p> download the Activestate cook book recipe (Python) 2013-01-29T16:24:22-08:00lwz7512http://code.activestate.com/recipes/users/4185066/http://code.activestate.com/recipes/578439-download-the-activestate-cook-book-recipe/ <p style="color: grey"> Python recipe 578439 by <a href="/recipes/users/4185066/">lwz7512</a> . </p> <p>Small effort to store the python recipes to our local</p> <p>similar effort by other people: 543267-i-will-download-all-of-the-recipes-from-the-python 535162-i-download-all-the-python-cookbook-recipes</p> download the Activestate cook book recipe (Python) 2012-07-04T12:14:22-07:00Sudeep AMhttp://code.activestate.com/recipes/users/4182702/http://code.activestate.com/recipes/578193-download-the-activestate-cook-book-recipe/ <p style="color: grey"> Python recipe 578193 by <a href="/recipes/users/4182702/">Sudeep AM</a> . Revision 2. </p> <p>Small effort to store the python recipes to our local</p> <p>similar effort by other people: 543267-i-will-download-all-of-the-recipes-from-the-python 535162-i-download-all-the-python-cookbook-recipes</p>