First, you should create a fixture file with some sample data. Two
entry, just like in the documentation is good. This way, you know you
have a working fixture file.
Then, you write a python function which take a list of bet and output
a fixture file just like the exemple you have done.
Finally, you adjust you scraper to build the list, use the function to
transform the list into a fixture file and import the fixture file.
>
https://groups.google.com/d/msgid/django-users/d3677ab5-06eb-47aa-bdf8-d789a4c454b7%40googlegroups.com.