Commit graph

722 commits

Author SHA1 Message Date
rolux
0f97aa8bae movie.py: allow for 'Title (YEAR-)/' 2012-08-17 01:59:09 +02:00
j
a4304fd8b9 add more extensions, make extension accessible 2012-08-16 18:57:57 +02:00
rolux
4336c19378 movie.py: refactoring 2012-08-16 18:18:44 +02:00
rolux
3e657b09c0 movie.py: correctly handle subdirectories 2012-08-16 16:31:58 +02:00
rolux
9de043422e movie.py: handle some more corner cases 2012-08-16 16:21:15 +02:00
rolux
ccc9c90090 movie.py: update parse_path to handle arbitrary strings 2012-08-16 15:44:57 +02:00
rolux
7d9c389606 movie.py: accept uppercase extensions 2012-08-16 02:57:46 +02:00
rolux
92f53b2346 movie.py: make keys camelCase 2012-08-16 00:34:12 +02:00
rolux
458455592b movie.py: correctly format Unknown Director 2012-08-15 22:39:38 +02:00
rolux
10b71a5c23 movie.py: handle two-letter extensions; don't add 'en' to path 2012-08-15 21:55:35 +02:00
rolux
09381f65f4 in movie module, add new format_path and parse_path methods 2012-08-15 20:57:04 +02:00
rolux
4fb9b03db9 update geo module 2012-08-15 18:00:52 +02:00
rolux
cfd84e916a update user agent parser 2012-08-15 17:58:46 +02:00
j
c374a8fec1 fix allmovie parser to work a bit 2012-07-08 14:16:57 +02:00
j
d860742aea cleanup metacritic 2012-07-08 13:16:59 +02:00
j
e74dc77ab1 update rottentomatoes and metacritic 2012-07-08 13:09:58 +02:00
j
a4271fd81a support versioned apis 2012-07-07 18:51:46 +02:00
j
9c7b985295 only return movie data if page is a movie page 2012-07-07 18:51:19 +02:00
j
b12e6f1b5c fix wikipedia poster urls 2012-07-07 18:03:02 +02:00
j
daf79e8d52 add some imdb mappings 2012-07-07 15:04:16 +02:00
j
43e8efc470 person keys should be unique fixes #900 2012-07-02 15:06:08 +02:00
j
d6be4b20f7 add ffprobe wrapper 2012-06-11 12:11:06 +02:00
j
77d7d7a2ec country names are unicode 2012-06-04 21:25:41 +02:00
j
ddecba1d1f cleanup 2012-05-27 13:50:10 +02:00
j
f6b5d6bde8 parse_html->sanitize_html, add links, allow mailto 2012-05-27 13:38:58 +02:00
rolux
e556447d1b typo 2012-05-27 12:59:15 +02:00
rolux
4568cba7b6 fix is_regexp() in tokenize() 2012-05-26 12:52:49 +02:00
j
9ac7491e70 new imdb 404 message 2012-05-22 11:22:08 +02:00
j
1748484e05 fix year parsing 2012-05-19 17:08:13 +02:00
j
7af3c5ffcb add sort_string, sorted_strings 2012-05-16 12:29:52 +02:00
j
45488de06f try to give context if jsonc parsing fails 2012-05-04 20:28:48 +02:00
j
e471e050ad add ox.net.oshash 2012-04-30 10:40:10 +02:00
j
5a00be4b37 apos not in name2codepoint, also decode that 2012-04-24 19:00:48 +02:00
rolux
6ed4a2d867 handle webkit; make robot a dict (since robots may run on specific systems or emulate specific browsers, they should be returned separately) 2012-03-27 12:20:22 +02:00
rolux
4bb4e31b48 Handle Bing Preview and Chrome Mobile 2012-03-27 09:55:12 +02:00
rolux
1828701abd add robot flag to parse_useragent 2012-03-26 13:40:00 +02:00
j
224fcf7955 dont fail with f2t 0.27 2012-03-23 23:00:54 +01:00
rolux
e1cc6a07be Change the string for versions of Microsoft Windows from 'NT X.Y (Windows ABC)' to 'NT X.Y (ABC)' 2012-03-22 21:17:14 +01:00
j
b0b8f87d43 fail if ffmpeg2theora is not up to date 2012-03-21 23:45:19 +01:00
j
22a66ec331 fix typo 2012-03-21 20:38:40 +01:00
j
7e08473e11 add get_country_name to ox namespace 2012-03-21 20:35:01 +01:00
rolux
4aef31680f add geo module (for country name normalization) 2012-03-21 17:55:42 +01:00
rolux
948f172dfc update parse_useragent 2012-03-21 08:47:04 +01:00
rolux
070a4879c6 add parse_useragent 2012-03-21 08:44:24 +01:00
j
fab1f86987 include summary in results 2012-03-18 15:38:51 +01:00
j
bc655b4134 use imdb search to find movie with most votes 2012-03-08 14:42:22 +01:00
j
966f558853 maxVotes 2012-03-08 13:57:11 +01:00
j
b76bb80577 handle srts with empty subs 2012-03-07 18:59:02 +01:00
j
5ddf7970b9 improve parser(handle empty subs) 2012-03-06 23:00:16 +01:00
j
cc8b42ebf4 add utf-8 BOM to srt 2012-03-02 22:37:35 +01:00
j
cf33e530f4 update genre parse. fixes #635 2012-02-29 15:52:12 +01:00
j
6bd249a5ae use local ffmpeg2theora if available 2012-02-24 22:37:55 +05:30
j
60839de99c escape_html/parse_html 2012-02-21 21:14:50 +05:30
j
52afe24428 add docs 2012-02-21 03:04:50 +05:30
j
51f6b0645f add api_proxy view 2012-02-21 03:03:55 +05:30
j
a7613f92ef filenames 2012-01-31 05:58:58 +05:30
j
ca7bfd06d5 utf-8 srts are more common 2012-01-28 13:56:42 +05:30
j
b7bb4a4e80 space 2012-01-26 09:13:48 +05:30
j
01f7e31685 http headers must be utf-8 encoded 2012-01-24 15:24:13 +05:30
j
29a0e79fbf fix getTorrentSize 2012-01-17 14:56:01 +05:30
j
95e5129f1a conditionally import image module 2012-01-16 11:39:31 +05:30
j
7243eefb8b amg has to be digit 2012-01-13 21:02:22 +05:30
j
1e0fc757d6 ids 2012-01-13 20:49:04 +05:30
j
f3787c7412 not all archive.org links have a title 2012-01-13 19:37:12 +05:30
j
fdbf18980f archive.org module 2012-01-13 19:22:55 +05:30
j
b506c13bb2 add oembed discovery, fix wikipedia parser 2012-01-10 14:30:29 +05:30
j
5c2e5e6a3a add ox.django.api 2012-01-04 01:30:33 +05:30
j
c4d80675ae add srt.encode 2012-01-02 22:37:17 +05:30
j
755eaec501 add srt.load 2012-01-02 22:14:10 +05:30
j
ad362e5bdc all new youtube bindings 2011-12-27 21:59:13 +05:30
j
ed32023686 from/toAZ starts at 1 2011-12-17 14:02:06 +05:30
j
e0a878464a from/toAZ 2011-12-17 03:31:16 +05:30
j
b7aba8bfcf parse google page, ajax json api is limited to 50 requests 2011-11-28 14:24:21 +01:00
j
0614f1e5b1 _ > : 2011-11-22 22:35:06 +01:00
j
bfb1d468af episode can also be 0 2011-11-22 22:30:29 +01:00
j
0b3aaae981 fix title for episode only series 2011-11-22 22:21:29 +01:00
j
bac441158b episode title 2011-11-22 22:19:19 +01:00
j
6331d586fc creator for series entries 2011-11-22 12:46:27 +01:00
j
ccab080e3f creator exists only for series 2011-11-22 12:42:15 +01:00
j
2a04bb8a74 Heat expects RGB image 2011-11-07 22:51:40 +01:00
j
cb8ebbe74a some static id mapping 2011-11-03 11:21:49 +01:00
j
2b7268157b avoid variable collision, save url 2011-11-01 22:53:36 +01:00
j
e290438c75 dont lookup imdb by default 2011-11-01 18:37:45 +01:00
j
8fe8822e09 add file cache 2011-11-01 13:55:49 +01:00
j
2a7b70c576 do empty posters, hand down more timeouts 2011-11-01 13:04:13 +01:00
j
6655864337 add timeout to getData 2011-11-01 09:38:00 +01:00
j
d21221feee just keyword 2011-10-31 17:46:05 +01:00
j
7f6e118e6e only $ bugets 2011-10-30 15:34:59 +01:00
j
78d8f8cc0b imdb.getUrl 2011-10-30 13:31:19 +01:00
j
4cfd74b4b9 words 2011-10-30 12:54:59 +01:00
j
8f826c4ac3 dont wrap data into Binary twice 2011-10-29 14:08:38 +02:00
j
8ba5b2097a aspectratio 2011-10-29 01:25:43 +02:00
j
b803c06dae releasedate 2011-10-28 19:24:09 +02:00
j
be28a4c625 episodeYear 2011-10-24 21:29:49 +02:00
j
981a0ee2ec default mime type 2011-10-21 18:44:45 +02:00
j
5e0193d149 dont set None as content_type 2011-10-21 18:37:51 +02:00
j
c87a6eddba work around broken episode titles 2011-10-21 12:00:20 +02:00
j
bfe269a349 usa display title 2011-10-19 15:46:07 +02:00
rolux
87f491e96e merge 2011-10-18 19:45:12 +02:00
rolux
f23aaf0141 don't read piratecinema.org/posters from cache 2011-10-18 19:32:27 +02:00
j
c8dc06d682 take International (English title) 2011-10-18 16:15:07 +02:00
j
60d8c6bc05 not everybody can be 2011-10-18 15:50:16 +02:00
j
f0a7aba8b0 _ 2011-10-18 15:30:16 +02:00
j
23ea669b7d cleanup summary 2011-10-18 14:57:31 +02:00
j
3e7b463ac8 International (Spanish 2011-10-18 14:45:00 +02:00
j
71abfcc307 directors are creators 2011-10-18 14:33:45 +02:00
j
f1fee46126 episodes without director where series does not have a creator, fix euro entity 2011-10-18 14:25:13 +02:00
j
2057e699bd special case series without creator but a director 2011-10-18 12:58:03 +02:00
j
fc95c4797b script titles 2011-10-18 10:19:02 +02:00
j
7a0fad1e03 series without episodes 2011-10-17 22:53:02 +02:00
j
d76b607363 . 2011-10-17 13:56:49 +02:00
j
ae6b2abaaf series country 2011-10-17 12:00:39 +02:00
j
0b380abaeb series creator(s) fixed #25 2011-10-15 21:32:32 +02:00
j
1b9c4d288c check before use 2011-10-15 19:03:32 +02:00
j
e756062749 cleanup imdb data 2011-10-15 16:54:09 +02:00
j
0bac09ba51 recut 2011-10-14 22:32:29 +02:00
j
4b8da070af merge 2011-10-14 22:29:52 +02:00
j
c5fa197de3 output computed title 2011-10-14 21:50:50 +02:00
rolux
6160c2bc50 merge 2011-10-14 21:18:42 +02:00
rolux
2ea147cb7c new piratecinema poster module 2011-10-14 21:18:17 +02:00
j
55a43b2d0a upgrade bot to FF 7 2011-10-14 12:42:28 +02:00
j
da22dc0bf1 api results should be unicode 2011-10-13 20:07:01 +02:00
j
2c141fdbcf add api, refine parse_movie_path 2011-10-13 19:28:18 +02:00
j
c2c5fbb725 add get_oxid 2011-10-13 15:08:40 +02:00
j
9b98abdbc6 parse_movie_path/create_movie_path 2011-10-13 12:21:16 +02:00
rolux
4aeda6bff9 fix jsonc.load() 2011-10-12 12:26:26 +02:00
rolux
525d71bf89 add JSONC module 2011-10-12 12:19:57 +02:00
rolux
d8c371e7fb add assertion 2011-10-11 21:19:54 +02:00
rolux
90e5e4e932 please romans 2011-10-11 21:10:36 +02:00
rolux
47a8918c12 please academics 2011-10-11 20:19:56 +02:00
rolux
df16e0baf5 disable article 'i' 2011-10-11 19:33:45 +02:00
rolux
c5a6b36273 fix a bug in get_sort_title with articles that end with a single quote 2011-10-11 18:51:28 +02:00
rolux
8b756b888a handle some more corner cases when sorting names 2011-10-11 17:19:31 +02:00
rolux
e93484d110 add some support for sorting asian names 2011-10-11 16:48:51 +02:00
rolux
d1a0915369 typos 2011-10-11 16:22:39 +02:00
rolux
0bd59742e7 typos 2011-10-11 16:17:34 +02:00
rolux
d1021cd9c3 update file module, add get_sort_name and get_sort_title to text module 2011-10-11 16:14:29 +02:00
rolux
a7aba40790 fix a bug where the js tokenizer would fail if the last character of the source was an operator 2011-10-07 00:42:31 +02:00
rolux
409d5da90d add js module (tokenize, minify) 2011-10-06 22:05:01 +02:00
j
0050c403ab add admin_required decorator 2011-10-03 18:05:27 +02:00
j
7b76ad4cc0 episodes do not have original title 2011-10-02 19:55:51 +02:00
j
46791ba543 handle one alternative title 2011-10-02 16:23:49 +02:00
j
e77d0c9de1 add from/to26 functions 2011-09-30 23:42:56 +02:00
j
40b3dabb99 include title in connections 2011-09-30 19:52:13 +02:00
j
0ff79d432f do not set http status code to json status, this only causes annoying error messages in debug consoles 2011-09-29 00:47:22 +02:00
j
10e1291d87 titles 2011-08-23 16:04:04 +02:00
j
b482ecf707 expires 2011-08-19 20:08:02 +02:00
j
20346b248a aspect ratio 2011-08-18 09:30:30 +02:00
j
a691759a12 remove quotes 2011-08-10 16:16:04 +02:00
j
87877ff64a english titles 2011-08-10 16:13:43 +02:00
j
a9013626a0 &#163;25,000 (estimated)<br/> 2011-08-09 12:06:47 +02:00
j
e31e8b7e29 worldwide gross does not work like that 2011-08-09 10:34:26 +02:00
j
9333abbd1b business as usual 2011-08-09 10:30:13 +02:00
j
aaf5990381 multipart support utf-8 2011-08-08 16:24:43 +02:00
j
e216e4a627 fix alternative titles 2011-08-07 12:42:59 +02:00
j
d1e678186b only list one country per alt title 2011-08-05 16:08:30 +02:00
j
b1e883107d trivial trivia fix 2011-08-05 15:51:39 +02:00
j
d7c3583535 make utf-8 url 2011-07-30 13:17:25 +02:00
rolux
9c5f5097c7 add parser for trailers.apple.com 2011-07-30 10:12:24 +02:00
rolux
faeed07934 add apple module (movie link/poster/trailer) 2011-07-30 08:42:44 +02:00
j
01ea39b02a race auth exception 2011-07-07 00:07:07 +02:00
j
79b1c7ed85 south introspection 2011-07-07 00:06:35 +02:00
j
c4e1bb311e remove second truncateWords function 2011-06-10 13:34:31 +02:00
j
c66787785f net.readUrlUnicode can take data, headers too 2011-04-26 23:11:24 +02:00
j
cbca12c3d8 reload all pages, just in case 2011-04-20 23:12:31 +02:00
j
f3c78be720 something went wrong 2011-04-20 23:08:33 +02:00
j
2e2a391ae9 more format workarounds in avinfo 2011-04-19 15:42:04 +02:00
j
59863f15c8 imdb fixes 2011-04-15 11:46:20 +02:00
j
e02769552d update wikipedia movie data 2011-04-07 20:52:03 +02:00
j
bd242d9712 do not fail if XACCELREDIRECT and XSENDFILE are not defined 2011-04-06 20:38:00 +02:00
j
9a05621d69 ox.makedirs 2011-04-06 15:24:32 +02:00
j
515d769f9f work around local django.utils package 2011-04-05 14:06:56 +02:00
j
e8aa6fe1e4 compress cache for html,text,css,js 2011-03-28 20:27:41 +02:00
j
f0065dd756 f2t sometimes does not list display aspect ratio, set it to width/height in that case 2011-03-26 12:12:56 +01:00
j
618ad7ed3f debug needs custom json hooks too 2011-03-25 11:39:31 +01:00
j
d35a1c721c connection has to be named argument 2011-03-24 20:53:22 +01:00
j
076020bd84 add connection to get_db_prep_save 2011-03-23 08:03:56 +01:00
j
798f366b8a more manual id mappings 2011-03-15 20:16:35 +01:00
j
e0f7b00b86 tune criterion 2011-03-09 13:10:20 +01:00
j
15db38b442 criterion 2011-02-27 16:33:25 +01:00
j
337fb29685 python2.5 2011-02-25 13:24:38 +01:00
j
a4ce8ff800 more datetime support 2011-02-25 12:20:14 +01:00
j
9043418608 support datetime in json serialization 2011-02-25 00:55:07 +01:00
j
2132510a8c fix criterion 2011-02-23 11:12:37 +01:00
j
2fed0f2b7d promotional abbreviation 2011-02-21 11:13:40 +01:00
j
460f1ce92d unicode 2011-02-08 12:50:57 +05:30
j
478919c60a hsl needs RGB images 2011-02-08 12:43:38 +05:30
j
3049c0185d update tests 2011-02-08 12:43:23 +05:30
j
4305546f8b fix impposter urls 2011-02-08 12:43:00 +05:30
j
437d90a00f custom queryset to allow for order by NULLS LAST 2011-01-25 04:13:00 +05:30
j
e404521e11 do NOT use one dict for all requests 2011-01-11 18:44:35 +05:30
j
623205bc19 fix rating 2011-01-06 16:19:58 +05:30
j
e5dd8a3343 fix ddg 2010-12-31 13:02:22 +05:30
j
3d93932200 use imdb for search 2010-12-31 12:53:28 +05:30
j
9fc6425a9e search cleanup 2010-12-31 12:53:24 +05:30
j
2892f3d12e add duckduckgo search 2010-12-29 17:36:14 +05:30
j
0b3cfe6c8d ignore complete title 2010-12-28 22:30:45 +05:30
j
c09c6c156c pass on timeout 2010-12-27 18:56:11 +05:30
j
2a7e415271 no working title 2010-12-25 16:52:50 +05:30
j
bf79a05edf return all uppercase base32 2010-12-25 15:38:28 +05:30
j
04ce15caa1 alternative title 2010-12-23 14:39:22 +05:30
j
ce17d0a36b typo 2010-12-23 14:35:00 +05:30
j
2c7b3466f7 work around imdb quirks in guessing ids 2010-12-23 14:23:53 +05:30
j
0d8cc6f94f language too 2010-12-23 11:35:06 +05:30
j
07a3794225 country links 2010-12-23 11:30:53 +05:30
j
7f250988c0 do not set status code 2010-12-23 00:55:57 +05:30
j
060e4a666f add django.views.taks_status 2010-12-22 15:09:34 +05:30
j
0e9f149edb to32 should start with capital letter or number 2010-12-22 15:08:59 +05:30
j
fc22335f8e use akas.imdb.com 2010-12-09 04:37:28 +01:00
j
ccc55e28f0 leave title alone 2010-12-08 01:56:37 +01:00
j
8b70307ec8 name->property 2010-12-07 19:29:53 +01:00
j
066bd38a01 series creators as directors 2010-11-28 16:53:47 +01:00
j
614c92ee59 use ox json import 2010-11-23 11:26:14 +01:00
j
17e8e349ac add location 2010-11-23 10:50:40 +01:00
j
0262ae50ca add oxdjango to ox package 2010-11-23 10:23:40 +01:00
j
01c368d493 cleanup 2010-11-19 19:57:55 +01:00
j
36b2fec446 work around ffmpeg2theora problems with some metadata output 2010-11-15 17:35:07 +01:00
j
59741c9cd0 vimeo 2010-11-05 13:00:19 +01:00
j
bcd0c528fd add amazon 2010-10-26 19:33:32 +02:00
j
7a7a921fdb update aaaarg 2010-10-26 19:32:34 +02:00
j
2b5c0b7108 add timeout 2010-10-19 16:08:21 +02:00
j
2da500d26e use cookie to get us titles from imdb 2010-10-08 18:07:39 +02:00
j
a106f0cfd7 refine title match 2010-10-08 17:50:51 +02:00
j
8230cb7c40 also fix title in ImdbCombined 2010-10-08 17:47:13 +02:00
j
ddc1d1ef43 use aka titles 2010-10-08 17:43:25 +02:00
Rolux
b22be542d7 minus typos 2010-09-17 17:25:36 +02:00
Rolux
810860c072 adding image module 2010-09-17 16:05:29 +02:00
j
77c88dda5b there are blu-ray disks without dvd now 2010-09-17 12:30:38 +02:00
j
bbf8fc6866 get series poster for episodes 2010-09-17 10:46:37 +02:00
j
9cec714835 add flixter 2010-09-04 12:42:37 +02:00
j
e24fa5f079 better tests 2010-09-04 03:22:18 +02:00
j
e4e6798433 make sure tests work again, fix to32 2010-09-03 23:19:19 +02:00
j
269086d349 new user agent, fix path 2010-09-01 19:57:29 +02:00
j
82b7ff413c stripAccents 2010-09-01 14:55:52 +02:00
j
4a19d5f938 normalizePath 2010-09-01 13:31:18 +02:00
j
51b4872d3e add auth.update 2010-08-24 19:08:42 +02:00
j
d31ce9e759 add iframe embed 2010-08-13 14:58:15 +02:00
j
ff0352a0b7 fix video urls 2010-08-12 23:53:33 +02:00
j
c97dce9431 update useragent 2010-08-12 23:35:31 +02:00
j
50794cb741 fix youtube id 2010-08-12 22:45:09 +02:00
j
f73e043d64 include first poster 2010-08-12 13:54:22 +02:00
j
0f74f3efff do not reload by default 2010-08-07 20:13:55 +02:00
j
0695d80ce9 fix base32 2010-08-07 20:08:31 +02:00
j
273dbbfd18 remove dead code 2010-08-03 10:32:54 +02:00
j
eae4803cd3 import json/simplejson in one place and use that 2010-07-28 15:08:06 +02:00
j
8569759865 use googleapi for all google queries 2010-07-28 15:04:43 +02:00
j
79286b4619 sort title, exclude i verb, and los angeles 2010-07-23 12:10:26 +02:00
j
0d2bd1b962 readUrl 2010-07-19 12:05:58 +02:00
j
d82353a186 poster urls 2010-07-19 12:05:01 +02:00
j
80385abcd0 blue ray 2010-07-19 11:53:13 +02:00
j
01c0b7ecc5 wikipedia is always utf-8 2010-07-18 21:25:33 +02:00
j
f1718e4af1 only return pages where imdb id is actually found 2010-07-18 21:16:25 +02:00
j
e4005f5810 update wikipedia getMovieData 2010-07-18 21:12:56 +02:00
j
d56d8aaaf9 remove debug 2010-07-18 20:59:39 +02:00
j
b3a7546344 fix criterion 2010-07-18 20:57:22 +02:00
j
2050c9deae only get id from criterion 2010-07-18 20:39:26 +02:00
j
b3345523b4 somtimes its better to just make one imdb request 2010-07-18 20:24:36 +02:00
j
0a2e427f5f freebase movies 2010-07-17 14:02:08 +02:00
j
e99c44fee6 only take season/episode from original air date 2010-07-13 11:28:55 +02:00
j
3010321175 add original_title 2010-07-12 11:04:34 +02:00
j
4af1dd055e seasons 2010-07-12 10:52:26 +02:00
j
9c432f2ab0 producers need series crew cropping too 2010-07-10 20:20:48 +02:00
j
f3147437b6 dates, reduce number of imdb pages loaded 2010-07-10 13:54:33 +02:00
j
18ce4cd92d more imdb refinement 2010-07-10 10:24:56 +02:00
j
6afafa7355 more imdb cleanup, add alternative_titles 2010-07-09 10:54:06 +02:00
j
50ada035cc add reviews 2010-07-08 10:59:15 +02:00
j
87e73406eb imdb parser fixes 2010-07-08 10:03:57 +02:00
j
06d61943ac add ox.web to this repos 2010-07-08 01:25:57 +02:00
j
0d354d2574 rename, use namespaces 2010-07-08 00:34:04 +02:00
j
cff20af4e7 back to oxlib, package_dir does not work with pip/python setup.py develop 2009-10-12 17:21:05 +02:00
j
8d14cf2291 change api, getUrl -> readUrl 2009-10-11 15:03:00 +02:00
j
d14f13faaf install as ox 2009-10-11 14:53:50 +02:00