SPRINGFIELD, Ill. — One state lawmaker wants to outlaw fantasy sports websites like FanDuel and DraftKings.

Representative Scott Drury’s new bill is based on the opinion of Illinois Attorney General Lisa Madigan, who said in December that the games played on the sites constitute illegal gambling under state law.

Efforts to license and regulate fantasy sports sites did not win passage in the Spring session of the General Assembly.