summaryrefslogtreecommitdiff
path: root/compressor/parser
Commit message (Collapse)AuthorAgeFilesLines
* Don't raise an error if BeautifulSoup isn't installedDamian Moore2013-06-121-1/+1
|
* Fixed a few imports.Jannis Leidel2013-05-274-26/+6
|
* Minor fixes after the Python 3 merge.Jannis Leidel2013-05-271-1/+1
|
* Merge branch 'develop' of github.com:jezdez/django_compressor into developJannis Leidel2013-05-271-13/+16
|\ | | | | | | | | | | | | Conflicts: compressor/parser/html5lib.py compressor/storage.py compressor/tests/test_parsers.py
| * Fix #405 - compatibility with html5lib 1.0Łukasz Langa2013-05-271-15/+21
| |
* | Change internall import of six to django.utils.six as we don't need add more ↵Kudlaty2013-04-163-3/+4
| | | | | | | | dependecies
* | In python3 import bs4 not BeautifulSoup which will work only in python2Kudlaty2013-04-161-3/+13
| |
* | Fix falke8 errorsKudlaty2013-04-164-4/+24
| |
* | Python 3 compatible lxml parser. Note that lxml under python 3.3 doesn't ↵Rafal Stozek2013-03-211-10/+34
| | | | | | | | handle non-ascii characters correctly at this time.
* | Initial python 3 compatibilityRafal Stozek2013-03-205-22/+23
|/
* Merge pull request #263 from jedie/11ae55c90d7c74c060cbe6fe5777cf24838ce74aJannis Leidel2012-08-031-1/+3
|\ | | | | Display the error line on HTMLParser parse errors.
| * Display the error line on HTMLParser parse errors.Jens Diemer2012-05-181-1/+3
| |
* | More flaking.Jannis Leidel2012-05-192-5/+7
| |
* | Fixed the lxml parser for good.Jannis Leidel2012-05-191-2/+1
| |
* | Various PEP8 and pyflakes related fixes.Jannis Leidel2012-05-191-1/+1
| |
* | Xpath + regexp = hellJannis Leidel2012-05-191-1/+1
| |
* | Use regex in the lxml parser to support case-insensitive attribute parsingJannis Leidel2012-05-191-1/+3
|/
* Moved import into Html5LibParser.__init__.Jannis Leidel2012-03-031-3/+3
|
* Fix html5lib import error shemigon2012-02-051-2/+5
| | | | Due to property may happen to be cached html5lib are not imported and causes "Caught AttributeError while rendering: 'Html5LibParser' object has no attribute 'html5lib'" Sorry cannot provide test for that as I don't have the environment set up and am short in time to do this.
* Fixed LxmlParser. Closes #102.Jannis Leidel2011-08-191-10/+14
|
* Renamed htmlparser.py to default_htmlparser.py and renamed custom HtmlParser ↵Michael van de Waeter2011-06-282-3/+3
| | | | to DefaultHtmlParser
* Bugfix on import of htmlparser on case-insensitive file-systems (e.g. Mac)mvdwaeter2011-06-231-1/+1
|
* Removed a few unneeded imports.Jannis Leidel2011-05-181-1/+0
|
* Moved decorator to proper util module.Jannis Leidel2011-05-133-3/+3
|
* Created new parser, HtmlParser, based on the stdlib HTMLParser module.Jaap Roes2011-04-204-4/+114
| | | | | Added AutoSelectParser, picks LxmlParser if lxml is available, falls back to HtmlParser if not, also the new default. Created a special BeautifulSoupTest in order to still test this parser. Updated README, installation and settings docs to reflect these changes.
* Fixed NameError.Jannis Leidel2011-04-181-1/+1
|
* Fixed html5lib parser.Jannis Leidel2011-04-181-2/+3
|
* Use cached_property with the parsers and split the exception handling ↵Jannis Leidel2011-04-183-54/+57
| | | | between ImportErrors and every other exception.
* Move parsers to nicer locations.Jannis Leidel2011-04-184-3/+6
|
* Only try importing lxml if the tree hasn't been build yet.Jaap Roes2011-04-171-10/+11
|
* Extracted parsers into their own seperate modules. Created a html5lib based ↵Jaap Roes2011-04-175-0/+175
parser, also mention this in the docs.