when listening to an audio in japanese, do you recommend writing down words you don’t know?

So I listened to a podcast on youtube for almost 25 minutes and I was surprised that I understood more than I thought I could (especially when listening is my weakest skill). There were some chunks that I didn’t understand because: 1) i don’t know the vocabulary. 2) I was cleaning my room and getting ready for work while listening to the podcast. and 3) I zoned out a few times.

I decided to listen to it again so that I can write down the vocabulary I didn’t know and to make sure that I wasn’t making up the translation in my head while listening to the podcast but i noticed that it takes longer to write down what I don’t know than to just listen to it for the sake of training my ears to be used to listening to japanese (aside from anime).

Which is better: writing down words i don’t know or just train my ears to the language?

by irdk-lol