0xDB: Add movies from Amos Vogel's "Film as a Subversive Art" #920

Closed
opened 2012-08-13 19:09:26 +00:00 by rlx · 5 comments
Owner
see: <http://www.imdb.com/list/INKu_OBhkDw/?start=1&view=compact&sort=listorian:asc&scb=0.6805417658761144>
rlx added the
general
label 2012-08-13 19:09:26 +00:00
0x2620 was assigned by rlx 2012-08-13 19:09:26 +00:00
rlx added the
normal
task
labels 2012-08-13 19:09:26 +00:00
Author
Owner
also see: <http://artandpopularculture.com/List_of_films_from_Film_as_a_Subversive_Art>
Author
Owner
+ <http://www.imdb.com/list/aHVp_JGy50A/>
Author
Owner
+ <http://www.listology.com/baalman/list/films-amos-vogels-book-film-subversive-art-no-imdb-entry>
Author
Owner

created a list: https://0xdb.org/list==rlx:Film%20as%20a%20Subversive%20Art

import ox
import re

# csv from http://www.imdb.com/list/INKu_OBhkDw/
csv = ox.file.read_file('subversive.csv')
ids = sorted(list(set(re.findall('tt(\d{7})', csv))))
txt = []
step = 25
i = 0
while i < len(ids):
    txt.append('https://0xdb.org/grid/id/id==%s' % '%7Cid=='.join(ids[i:i + step]))
    i += step
ox.file.write_file('subversive.txt', '\n'.join(txt))
created a list: <https://0xdb.org/list==rlx:Film%20as%20a%20Subversive%20Art> ``` import ox import re # csv from http://www.imdb.com/list/INKu_OBhkDw/ csv = ox.file.read_file('subversive.csv') ids = sorted(list(set(re.findall('tt(\d{7})', csv)))) txt = [] step = 25 i = 0 while i < len(ids): txt.append('https://0xdb.org/grid/id/id==%s' % '%7Cid=='.join(ids[i:i + step])) i += step ox.file.write_file('subversive.txt', '\n'.join(txt)) ```
Author
Owner

Can this be closed?

Can this be closed?
rlx added this to the 13.04 milestone 2013-05-29 14:09:12 +00:00
rlx added the
fixed
label 2013-08-01 11:08:23 +00:00
rlx closed this issue 2013-08-01 11:08:23 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: 0x2620/pandora#920
No description provided.