gas dryer

hi, dryer wont heat igniter or whatever lights up get a flame for about 1 or 2 min then goes out lights up again but no more flame. replaced coils then ck old ones they were good.was pluged up with lint pretty bad. thanks for any help don