Permalink
Browse files

Merge pull request #13 from tled/videopage_url

videopage url
  • Loading branch information...
2 parents fe8ff4a + eb66bc9 commit 9d35b7d9790d0c8ba1301b8d3b3c786cec027ea4 @dersphere committed Jul 10, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 resources/lib/scraper.py
@@ -591,7 +591,7 @@ def get_video(video_id):
video = {}
params = {}
encxml = ''
- videopage_url = MAIN_URL + 'watch/%s/' % video_id
+ videopage_url = MAIN_URL + 'watch/%s' % video_id
html = requester.get_url(videopage_url, MAIN_URL)
video['title'] = re.search(r_title, html).group(1)
sec = re.search(r_adv, html).group(1)

0 comments on commit 9d35b7d

Please sign in to comment.