mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-08-29 15:21:51 +03:00
[extractor/fosdem] Use re.DOTALL for html search for description
This commit is contained in:
committed by
Jesse Millwood
parent
33aac01e30
commit
36a1f6294c
@@ -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}/.+)\">"
|
||||||
|
|||||||
Reference in New Issue
Block a user