Metadata-Version: 1.0
Name: lassie
Version: 0.4.0
Summary: Lassie is a Python library for retrieving basic content from websites
Home-page: https://github.com/michaelhelmick/lassie/tree/master
Author: Mike Helmick
Author-email: me@michaelhelmick.com
License: The MIT License

Copyright (c) 2013 Mike Helmick

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Description: Lassie
        ======
        
        .. image:: https://badge.fury.io/py/lassie.png
                :target: http://badge.fury.io/py/lassie
        .. image:: https://travis-ci.org/michaelhelmick/lassie.png?branch=master
                :target: https://travis-ci.org/michaelhelmick/lassie
        .. image:: https://pypip.in/d/lassie/badge.png
                :target: https://crate.io/packages/lassie/
        .. image:: https://coveralls.io/repos/michaelhelmick/lassie/badge.png?branch=master
                :target: https://coveralls.io/r/michaelhelmick/lassie?branch=master
        
        Lassie is a Python library for retrieving basic content from websites.
        
        Usage
        -----
        
        .. code-block:: python
        
            >>> import lassie
            >>> lassie.fetch('http://www.youtube.com/watch?v=dQw4w9WgXcQ')
            {
                'description': u'Music video by Rick Astley performing Never Gonna Give You Up. YouTube view counts pre-VEVO: 2,573,462 (C) 1987 PWL',
                'videos': [{
                    'src': u'http://www.youtube.com/v/dQw4w9WgXcQ?autohide=1&version=3',
                    'height': 480,
                    'type': u'application/x-shockwave-flash',
                    'width': 640
                }, {
                    'src': u'https://www.youtube.com/embed/dQw4w9WgXcQ',
                    'height': 480,
                    'width': 640
                }],
                'title': u'Rick Astley - Never Gonna Give You Up',
                'url': u'http://www.youtube.com/watch?v=dQw4w9WgXcQ',
                'keywords': [u'Rick', u'Astley', u'Sony', u'BMG', u'Music', u'UK', u'Pop'],
                'images': [{
                    'src': u'http://i1.ytimg.com/vi/dQw4w9WgXcQ/hqdefault.jpg?feature=og',
                    'type': u'og:image'
                }, {
                    'src': u'http://i1.ytimg.com/vi/dQw4w9WgXcQ/hqdefault.jpg',
                    'type': u'twitter:image'
                }, {
                    'src': u'http://s.ytimg.com/yts/img/favicon-vfldLzJxy.ico',
                    'type': u'favicon'
                }, {
                    'src': u'http://s.ytimg.com/yts/img/favicon_32-vflWoMFGx.png',
                    'type': u'favicon'
                }],
                'locale': u'en_US'
            }
        
        Install
        -------
        
        Install Lassie via `pip <http://www.pip-installer.org/>`_
        
        .. code-block:: bash
        
            $ pip install lassie
        
        or, with `easy_install <http://pypi.python.org/pypi/setuptools>`_
        
        .. code-block:: bash
        
            $ easy_install lassie
        
        But, hey... `that's up to you <http://www.pip-installer.org/en/latest/other-tools.html#pip-compared-to-easy-install>`_.
        
        Documentation
        -------------
        
        Documentation can be found here: https://lassie.readthedocs.org/
        
        
        .. :changelog:
        
        History
        -------
        
        0.4.0 (2013-08-15)
        ++++++++++++++++++
        - Updated `requests` and `beautifulsoup4` library versions
        - Added support for manipulating the request, see Advanced Usage docs
        - Fixed issue where `lassie.fetch` would break if the page had no title
        - Lassie is now more lenient when it comes to width and height values of images (now accepts integers (100) or integer with px (100px)
        - Image URLs for all images are now absolute
        
        0.3.0 (2013-08-15)
        ++++++++++++++++++
        
        - Added support for `locale` to be returned. If `lang` is specified in the `html` tag and it normalizes to an actual locale, it will be added to the returned data.
        - Fixed bug where height was not being returned for body images
        - Added test coverage, we're 100% covered! :D
        
        
        0.2.1 (2013-08-13)
        ++++++++++++++++++
        
        - Remove spaces from the returned keywords list
        - Fixed issue where favicon was not being retrieved
        - Fixed priority for class level vs method level params
        
        
        0.2.0 (2013-08-06)
        ++++++++++++++++++
        
        - Fix package error when importing
        
        
        0.1.0 (2013-08-05)
        ++++++++++++++++++
        
        - Initial Release
        
Keywords: lassie open graph web content scrape scraper
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Internet
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
