There’s an old, weird trick that actually works: chestnuts. Yes, chestnuts. Place them on windowsills. No one knows why—some say the spiders hate the smell, others say chestnuts are just territorial.
You can also try cedar blocks or lavender sachets. It’s like putting a “No Loitering” sign, but in a smell that spiders can’t read.
Why Do Spiders Come Into A House at Charles Grabowski blog
If all else fails, adopt a cat. My cat once ate a spider and then threw it up on my pillow. Is that a solution? Not really, but it’s entertainment.