Shale gas is rapidly growing as a source of natural gas in China. Compared with the conventional gas reservoir, the shale gas reservoir is characterized by low porosity, low permeability, and adsorbed gas, making the flow mechanism of shale gas reservoir more complex. In this study, we investigated six factors influencing the gas flow: the Darcy flow, the slippage effect, the Knudsen diffusion effect, the desorption of gas on pore walls, the diffusion effect of gas in organic matter, and the matrix deformation effect. We simplified gas flow in the development process to only include gas flow in the capillaries and then considered the six influence factors. This study establishes a shale gas pseudo two-dimensional unsteady capillary seepage mathematical model based on the continuity equation, using the implicit difference method to solve the mathematical model. Certain capillary parameters were added to the calculation, and the study analyzed the effect of the different factors on both the pressure distribution and the cumulative gas production. Results show that the Knudsen diffusion effect and the desorption of gas from pore walls have lower impact on the pressure than the others factors. The diffusion effect of gas in organic matter, the slippage effect, and the matrix deformation effect have a stronger impact on the pressure. The gas in organic matter continuously diffuses into the capillary with the increasing of the production time, and the pressure drop becomes slow because of the gas diffusion.