2
I have a series of data that I would like to organize by title, example;
movies = [
'movie': [
'legenda' [
'dub', 'leg', 'nac'
],
'time': [
1, 2, 3, 4, 5
]
]
....
]
I tried with dict()
with list()
and I haven’t gotten any results yet.
for movie in soup.find_all(class_="filme"):
movies.update({'title', movie.h4.a.get_text()})
for legend in movie.select(".movie-info .leg img"):
movies.update({'leg', legend.get('alt')})
This way it will only update what I have, do not know how to create this multidimensional with python (yet)