mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[dbtv] Make sure the 'id' field is a string
This commit is contained in:
parent
70f6796e7d
commit
c8f167823f
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
||||||
import re
|
import re
|
||||||
|
|
||||||
from .common import InfoExtractor
|
from .common import InfoExtractor
|
||||||
|
from ..compat import compat_str
|
||||||
from ..utils import (
|
from ..utils import (
|
||||||
float_or_none,
|
float_or_none,
|
||||||
int_or_none,
|
int_or_none,
|
||||||
|
@ -61,7 +62,7 @@ def _real_extract(self, url):
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'id': video['id'],
|
'id': compat_str(video['id']),
|
||||||
'display_id': display_id,
|
'display_id': display_id,
|
||||||
'title': video['title'],
|
'title': video['title'],
|
||||||
'description': clean_html(video['desc']),
|
'description': clean_html(video['desc']),
|
||||||
|
|
Loading…
Reference in a new issue