Add a word after the post url if it is within a specific category

Normal status for articles URLS:

example.com/23423/
example.com/23412/

I want the article URL to become [example.com/23412/?video] only if it exists in a specific category.

For example I have 2 categories:

news
video

article for news cat = example.com/23423/
article for video cat = example.com/23423/?video

thank any way