This.
Once Vader understand the Falcon's crew want Leia, he has everything to form his plan. He doesn't need to know anything about the crew, he's already sure Leia is with the Resistance, so he can assume they are or close enough.
Not to mention he does sense Obi-Wan through the Force at some point. A bit later i think.
This is the one things that has always bugged me about it. That may be explained in a cut scene (the movie was heavily edited) but Leia indeed has every reason not to go straight to Yavin.
Or more that he was sure she'd never break and give them anything useful.