If you're intending to stay locally for a few nights, or over a weekend around your studies, you can explore what's available to you via Visit Gloucester, which provides a one-stop guide to hotel, B&B and self-catering options across the county.
The website is funded by Gloucester City Council and Gloucester Culture Trust through the Arts Council and National Lottery Heritage Fund, Great Place Scheme.