A ticket reseller accused of using software bots to scoop up thousands of tickets to the hit musical “Hamilton” can’t escape a copyright infringement lawsuit.

The U.S. District Court for the Central District of California rejected Prestige Entertainment West Inc.’s bid to dismiss a lawsuit by Live Nation Entertainment Inc.’s Ticketmaster.

The May 29 ruling highlights the types of online copyright claims that can survive a motion to dismiss. Ticketmaster originally argued that Prestige’s bots made infringing copies of Ticketmaster website data when they visited the site. But the court dismissed that claim because that type of copying, which automatically...