Skip to content

Commit

Permalink
Merge branch 'bugfix_youtube_like_extraction' of https://github.com/R…
Browse files Browse the repository at this point in the history
…edpointsBots/youtube-dl into RedpointsBots-bugfix_youtube_like_extraction
  • Loading branch information
blackjack4494 committed Oct 7, 2020
2 parents 6e728bc + a6c666d commit a87a873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dlc/extractor/youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -2421,7 +2421,7 @@ def extract_meta(field):

def _extract_count(count_name):
return str_to_int(self._search_regex(
r'-%s-button[^>]+><span[^>]+class="yt-uix-button-content"[^>]*>([\d,]+)</span>'
r'"accessibilityData":\{"label":"([\d,\w]+) %ss"\}'
% re.escape(count_name),
video_webpage, count_name, default=None))

Expand Down

0 comments on commit a87a873

Please sign in to comment.