[behance] add 'modules' option (#4799)

This commit is contained in:
Mike Fährmann
2023-11-17 22:47:57 +01:00
parent 6a753d9ff3
commit 07cb584231
3 changed files with 43 additions and 6 deletions

View File

@@ -63,6 +63,15 @@ __tests__ = (
"#count" : 3,
},
{
"#url" : "https://www.behance.net/gallery/89270715/Moevir",
"#comment" : "'text' modules (#4799)",
"#category": ("", "behance", "gallery"),
"#class" : behance.BehanceGalleryExtractor,
"#options" : {"modules": "text"},
"#urls" : """text:<div>Make Shift<br><a href="https://www.moevir.com/News/make-shif?fbclid=IwAR2MXL7mVDskdXHitLs4tv_RQFqB1tpAYix2EMIzea4lOSIPdPOR45wEJMA" target="_blank" rel="nofollow">https://www.moevir.com/News/make-shif</a><br>Moevir Magazine November Issue 2019<br>Photography by Caesar Lima @caephoto <br>Model: Bee @phamhuongbee <br>Makeup by Monica Alvarez @monicaalvarezmakeup <br>Styling by Jessica Boal @jessicaboal <br>Hair by James Gilbert @brandnewjames<br>Shot at Vila Sophia<br></div>""",
},
{
"#url" : "https://www.behance.net/gallery/177464639/Kimori",
"#comment" : "mature content (#4417)",