Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

SpiffyTitles: remove a leftover use of 'parse_qsl' from module 'cgi' #118

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions SpiffyTitles/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
from bs4 import BeautifulSoup
import random
import json
import cgi
import datetime
from jinja2 import Template
from datetime import timedelta
Expand Down Expand Up @@ -600,7 +599,7 @@ def get_video_id_from_url(self, url, info):
if domain == "youtu.be":
video_id = path.split("/")[1]
else:
parsed = cgi.parse_qsl(info.query)
parsed = parse_qsl(info.query)
params = dict(parsed)

if "v" in params:
Expand Down