I've forgotten what they were rioting about, so I did a search. Just to recap.
The five demands.
1 Full withdrawal of the extradition bill
The proposed extradition bill would have allowed for courts in other places, such as China and Taiwan, to ask for criminals to be handed over. The protests started over a general mistrust of the Chinese legal system.
Currently, the government has declared the bill “dead” and insists all work has stopped on the bill. But protesters demand the formal rules of withdrawing a bill be followed in the Legislative Council.
On September 4, Chief Executive Carrie Lam Cheng Yuet-ngor pledged to officially withdraw the law.
2 A commission of inquiry into alleged police brutality
On June 12, police dispersed protesters outside Legco with what protesters say is excessive force. They have criticised these actions ever since. Protesters also have little confidence in the current police watchdog, the Independent Police Complaints Council.
3 Retracting the classification of protesters as “rioters”
Shortly after June 12, when protesters surrounded Legco and forced the second reading of the fugitive bill to be stopped, the Chief Executive, and the Commissioner of Police Stephen Lo Wai-chung used the term "rioters" to describe protesters, which is a crime that can be punished by up to 10 years in prison.
4 Amnesty for arrested protesters
So far, more than 700 protesters have been arrested in connection with the anti-extradition bill protests so far, charged with crimes ranging from illegal assembly and assaulting police to rioting.
5 Dual universal suffrage, meaning for both the Legislative Council and the Chief Executive
At the moment, only half the seats in Legco - the body which makes the city's laws - are directly elected by voters. The other 35 seats are from "functional" constituencies, an elected according to professions or trades. But this means that corporationsand selected voters get to vote for the representative in their particular sector.
The Chief Executive is elected by a 1,200-member commitee. Of those, 900 are representatives of different sectors of business, only elected by voters in that business. Of the 300 remaining members of the committee, 70 are members of the Legislative Council and others are representatives to the Chinese National People's Congress.
https://yp.scmp.com/hongkongprotests5demands