diff --git a/Shortener/YouTube.class.st b/Shortener/YouTube.class.st index b0eca9e..ce72c5f 100644 --- a/Shortener/YouTube.class.st +++ b/Shortener/YouTube.class.st @@ -4,9 +4,9 @@ Class { #category : #'Shortener-Model' } -{ #category : #'as yet unclassified' } +{ #category : #operation } YouTube class >> enlargeLink: shortLinkString [ - | videoId videoLink shortLinkHost | + | videoId shortLinkHost | shortLinkHost := shortLinkString asZnUrl host. (shortLinkHost = 'www.youtube.com') ifTrue: [ ^ shortLinkHost ].