I have been recently running into integrals of the form $$\int\frac{f(x)}{x^p \pm 1}dx$$ and $$\int \frac{f(x)}{e^x \pm 1} dx$$ where $f(x)$ is ususally $x^q$ or $\sin x$. For example, $f(x) = x^3$ occurs in context of Stefan's Law and Wien's Law.
I have no idea how to proceed in such cases. Wolfram is also no help. Help with non-trivial special cases or in case of definite integration from $0$ to $\infty$ will also be much appreciated.