I don't think you can get the different layers of a .gif if it has been flattened. I just opened 3 and only one opened with layers in Gimp.
Ofnuts has many scripts/pythons, so may have one to help you.
Ofnuts has many scripts/pythons, so may have one to help you.