Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lyse
boydl
Commits
c7686e44
Commit
c7686e44
authored
Mar 02, 2012
by
Lysander Trischler
Browse files
Improve message for unsuccessfull URL extraction
parent
fe2b229f
Changes
1
Hide whitespace changes
Inline
Side-by-side
boydl
View file @
c7686e44
...
...
@@ -84,8 +84,11 @@ for item in channel.getElementsByTagName("item"):
# if description link cannot be parsed use feed proxy's URL
#
if
url
is
None
:
print
(
"%s: Cannot extract direct link to Best of YouTube website. Using feed proxy's URL."
%
me
)
print
(
"%s: Cannot extract direct link to Best of YouTube website for '%s'."
" Using feed proxy's URL:"
%
(
me
,
item
.
getElementsByTagName
(
'title'
)[
0
].
firstChild
.
data
)),
url
=
item
.
getElementsByTagName
(
"link"
)[
0
].
firstChild
.
data
print
(
url
)
#
# skip already downloaded videos
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment