Check-in [883ba616fa]
Overview
Comment: | Shorter YT urls. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
883ba616faa840a561ad40ff722f201d |
User & Date: | mario on 2014-07-31 01:14:58 |
Other Links: | manifest | tags |
Context
2014-07-31
| ||
01:26 | Updated README and releases.json for 2.1.2 bugfix release. check-in: 4edfd34e6b user: mario tags: trunk, 2.1.2 | |
01:14 | Shorter YT urls. check-in: 883ba616fa user: mario tags: trunk | |
01:14 | Removed some negotation headers check-in: a30ddba7a7 user: mario tags: trunk | |
Changes
Modified channels/youtube.py from [bb7a58a931] to [a4a5b848e0].
︙ | ︙ | |||
305 306 307 308 309 310 311 | id = id["videoId"] # for /playlistItems elif "resourceId" in row["snippet"]: id = row["snippet"]["resourceId"]["videoId"] data.update(dict( url = "http://youtube.com/v/" + id, | | | 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 | id = id["videoId"] # for /playlistItems elif "resourceId" in row["snippet"]: id = row["snippet"]["resourceId"]["videoId"] data.update(dict( url = "http://youtube.com/v/" + id, homepage = "http://youtu.be/" + id + ("?wadsworth=1" if conf.youtube_wadsworth else ""), format = self.fmt, title = row["snippet"]["title"], )) # optional values if "playing" not in data: data["playing"] = row["snippet"]["channelTitle"] |
︙ | ︙ |