import re
zip(*[(i.strip() for i in re.split('(\d{4})|\||>', text) if i and i.strip())]*3)
out:
[('year', 'title', 'medium'),
('1962', 'Amazing Fantasy #15', 'comic book'),
('1967', 'Spider-Man', 'animation'),
('1977', 'The Amazing Spider-Man', 'television'),
('1978', 'Questprobe #2 Spider-Man', 'video game'),
('2002', 'Spider-Man', 'movie')]