Skip to content

Commit

Permalink
Update go.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tmthywynn8 authored May 10, 2020
1 parent b002bc4 commit 5a3e2a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/go.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def _real_extract(self, url):
# from http://freeform.go.com/shows/shadowhunters/episodes/season-2/1-this-guilty-blood
r'data-video-id=["\']*(VDKA\w+)',
# https://abc.com/shows/the-rookie/episode-guide/season-02/03-the-bet
r'\b(?:video)?id["\']\s*:\s*["\'](VDKA\w+)'
r'\bvideoIdCode["\']\s*:\s*["\'](vdka\w+)'
), webpage, 'video id', default=video_id)
if not site_info:
brand = self._search_regex(
Expand Down

1 comment on commit 5a3e2a4

@TheGrimKeeper
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was working previously, but today it failed on https://abc.com/shows/holey-moley/episode-guide/season-02/02-thats-one-for-the-scrapbooks so ABC may have made additional changes. Changing Line 156 of go.py from show_title to show_id solved the problem on this one.

Please sign in to comment.