How in python to put data from a script tag?

There is a tag with the text that I need to get. I use the library bs4 and can not understand as me to finally get the content <div>...<div/>
From here I have to put:
'<script type="text/javascript">document.write('<div class="b-post__price b-post__price_padleft_10 b-post__price_padbot_5 b-post__price_fontsize_13 b-post__price_float_right"> By appointment </div>');</script> <script type="text/javascript">document.write('<div class="b-post__body b-post__body_padtop_15 b-post__body_overflow_hidden b-layuot_width_full"> <div class="b-post__txt "> to develop software for windows you can record video clips similar to dancing heads, dance heads, etc. Must work with chroma key and camera canon video shooting mode.... </div>.... <script/>'
March 12th 20 at 08:01
1 answer
March 12th 20 at 08:03
Solution
Look what returns to you requests.text in the console you'll be unpleasantly surprised
requests don't execute js so either use a full emulation of the browser selenium to load the page with all scripts or nothing

Find more questions by tags ParsingPython