In this German Mathematics Wikibook page, formula $0.5$ lists the following equation $$\int_0^1 \sin(\pi x) x^x (1-x)^{1-x} \ \mathrm{d}x = \frac{\pi e}{24}$$ as supposedly attributed to Ramanujan (Google translate gives "formula by Ramanujan"). However, the page lacks a citation section, which is absolutely unfortunate, so I'm not certain whether to trust this source or not. How would I be able to verify the source is correct?
A quick Google search only returned the above the page, so no promising results. I have thought about contacting Dr. Bruce C. Berndt, the expert on Ramanujan's mathematical career, though I'd like to know what other alternatives are available. Thank you!