mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-01-16 03:40:50 +01:00
[extractor/fosdem] Use re.DOTALL for html search for description
This commit is contained in:
parent
33aac01e30
commit
36a1f6294c
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
from .common import InfoExtractor
|
from .common import InfoExtractor
|
||||||
|
import re
|
||||||
import pdb
|
import pdb
|
||||||
|
|
||||||
class FosdemIE(InfoExtractor):
|
class FosdemIE(InfoExtractor):
|
||||||
|
@ -46,7 +47,7 @@ class FosdemIE(InfoExtractor):
|
||||||
evnt_blurb = self._html_search_regex(evnt_blurb_rgx,
|
evnt_blurb = self._html_search_regex(evnt_blurb_rgx,
|
||||||
webpage,
|
webpage,
|
||||||
'event blurb',
|
'event blurb',
|
||||||
group='blurb')
|
group='blurb', flags=re.DOTALL)
|
||||||
description = evnt_blurb
|
description = evnt_blurb
|
||||||
print(f"DESCRIPTION: {description}")
|
print(f"DESCRIPTION: {description}")
|
||||||
video_url_rgx = r"<li><a href=\"(https://video.fosdem.org/[0-9]{4}/.+)\">"
|
video_url_rgx = r"<li><a href=\"(https://video.fosdem.org/[0-9]{4}/.+)\">"
|
||||||
|
|
Loading…
Reference in a new issue