mirror of
https://github.com/zoriya/guessit.git
synced 2026-06-03 10:45:42 +00:00
Remove unicode stuff from docs
This commit is contained in:
+1
-3
@@ -127,15 +127,13 @@ GuessIt can be used from command line::
|
||||
It can also be used as a python module::
|
||||
|
||||
>>> from guessit import guessit
|
||||
>>> guessit(u'Treme.1x03.Right.Place,.Wrong.Time.HDTV.XviD-NoTV.avi') # doctest: +ALLOW_UNICODE
|
||||
>>> guessit('Treme.1x03.Right.Place,.Wrong.Time.HDTV.XviD-NoTV.avi') # doctest: +ALLOW_UNICODE
|
||||
MatchesDict([('title', 'Treme'), ('season', 1), ('episode', 3), ('episode_title', 'Right Place, Wrong Time'), ('format', 'HDTV'), ('video_codec', 'XviD'), ('release_group', 'NoTV'), ('container', 'avi'), ('mimetype', 'video/x-msvideo'), ('type', 'episode')])
|
||||
|
||||
``MatchesDict`` is a dict that keeps matches ordering.
|
||||
|
||||
Command line options can be given as dict or string to the second argument.
|
||||
|
||||
GuessIt only accept unicode string, so you need to use ``u`` prefix for input string on python 2.
|
||||
|
||||
REST API
|
||||
--------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user