Thread Regex - Suche nach Tags (7 answers)
Opened by YAPD at 2021-06-01 18:31

Linuxer
 2021-06-01 21:33
#193341 #193341
User since
2006-01-27
3871 Artikel
HausmeisterIn

user image
Wenn Du an der "image source" interessiert bist, warum lässt Du Dir dann das "alt"-Attribut ausgeben?

Code: (dl )
$p -> { textify } -> { img } = "alt";


Versuch doch mal:
Code: (dl )
$p -> { textify } -> { img } = "src";


Damit bekomme ich (exemplarisch):
Code: (dl )
1
2
/title/tt8176384/	https://m.media-amazon.com/images/M/MV5BY2NiYzlhNzEtYjJiNy00ZDVlLWJjZjYtMGE2NTgwNDU3Y2VkXkEyXkFqcGdeQXVyODYzNjg5OTc@._V1_UX32_CR0,0,32,44_AL_.jpg
/title/tt8176384/ The Butterfly Effect


wo vorher nur
Code: (dl )
1
2
/title/tt8176384/	[IMG]
/title/tt8176384/ The Butterfly Effect

kam.
meine Beiträge: I.d.R. alle Angaben ohne Gewähr und auf Linux abgestimmt!
Die Sprache heisst Perl, nicht PERL. - Bitte Crossposts als solche kenntlich machen!

View full thread Regex - Suche nach Tags