質問編集履歴

2

コード修正

2021/10/21 14:27

投稿

monmon2
monmon2

スコア17

test CHANGED
File without changes
test CHANGED
@@ -88,7 +88,7 @@
88
88
 
89
89
  soup = BeautifulSoup(session.get(url).content, 'lxml')
90
90
 
91
- movie = soup.find_all('pre', id='pre_iframe')
91
+ movie = soup.find_all('pre', id='pre_iframe').contents[0]
92
92
 
93
93
  ```
94
94
 

1

htmlのコード修正

2021/10/21 14:27

投稿

monmon2
monmon2

スコア17

test CHANGED
File without changes
test CHANGED
@@ -58,23 +58,19 @@
58
58
 
59
59
  <pre style="padding:10px; white-space:pre-wrap; overflow-x:hidden;"
60
60
 
61
- id="pre_iframe">&lt;iframe height="300" width="300"
61
+ id="pre_iframe">
62
62
 
63
- src="https://6ms.biz/aff.php?
63
+ "<iframe height="300"
64
64
 
65
- video_id=3522&amp;aff_id=345074&amp;site_id=336971" frameborder="0"
65
+ width="300" src="https://6ms.biz/aff.php?
66
66
 
67
+ video_id=3522&amp;aff_id=345074&amp;site_id=336971" frameborder="0"
68
+
67
- allowfullscreen=""&gt;&lt;/iframe&gt;</pre>
69
+ allowfullscreen=""></iframe>
70
+
71
+ </pre>
68
72
 
69
73
  </div>
70
-
71
- <div id="show_iframe" class="text-center"><iframe height="300"
72
-
73
- width="300" src="https://6ms.biz/aff.php?
74
-
75
- video_id=3522&amp;aff_id=345074&amp;site_id=336971" frameborder="0"
76
-
77
- allowfullscreen=""></iframe></div>
78
74
 
79
75
  </div>
80
76