question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hello, everybody! I have this error in Jupyter Notebook: from pytube import YouTube yt = YouTube("https://www.youtube.com/watch?v=n06H7OcPd-g") Output: PytubeError Traceback (most recent call last) <ipython-input-10-6607b2ea2007> in <module>() 1 from pytube import YouTube ----> 2 yt = YouTube(“https://www.youtube.com/watch?v=n06H7OcPd-g”)

C:\Users\immelnikoff\anaconda3\envs\for_youtube\lib\site-packages\pytube-6.1.8-py3.5.egg\pytube\api.py in init(self, url) 64 self._videos = [] 65 if url: —> 66 self.from_url(url) 67 68 @property

C:\Users\immelnikoff\anaconda3\envs\for_youtube\lib\site-packages\pytube-6.1.8-py3.5.egg\pytube\api.py in from_url(self, url) 156 157 # Get the video details. –> 158 video_data = self.get_video_data() 159 160 # Set the title from the title.

C:\Users\immelnikoff\anaconda3\envs\for_youtube\lib\site-packages\pytube-6.1.8-py3.5.egg\pytube\api.py in get_video_data(self) 267 268 # Extract out the json data from the html response body. –> 269 json_object = self._get_json_data(html) 270 271 # Here we decode the stream map and bundle it into the json object. We

C:\Users\immelnikoff\anaconda3\envs\for_youtube\lib\site-packages\pytube-6.1.8-py3.5.egg\pytube\api.py in _get_json_data(self, html) 315 # In case video is unable to play 316 if(pattern_idx == -1): –> 317 raise PytubeError(“Unable to find start pattern.”) 318 start = pattern_idx + 18 319 html = html[start:]

PytubeError: Unable to find start pattern.

System information sys.version ‘3.5.6 |Anaconda, Inc.| (default, Aug 26 2018, 16:05:27) [MSC v.1900 64 bit (AMD64)]’

pytube.__version__ ‘6.1.8’

I installed pytube in Anaconda Navigator from channel https://anaconda.org/everwho

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
immelnikoffcommented, May 7, 2021

Hi, @tfdahlin! Thank you for answer, I installed last version of pytube and this error disappeared. But I have one more question. Can I dowload not only playlist, but whole youtube-channel?

0reactions
tfdahlincommented, May 8, 2021

Closing this since the original issue was resolved.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bug (2006)
An unhinged war veteran holes up with a lonely woman in a spooky Oklahoma motel room. The line between reality and delusion is...
Read more >
Bug Definition & Meaning
The meaning of BUG is any of an order (Hemiptera and especially its suborder Heteroptera) of insects (such as an assassin bug or...
Read more >
bug
(entomology) An insect of the order Hemiptera (the “true bugs”). Any of various species of marine or freshwater crustaceans; e.g. a Moreton Bay...
Read more >
Bug
A terrestrial arthropod animal (with at least six legs). Insect, a six-legged arthropod · Covert listening device, used in surveillance, espionage and policing ......
Read more >
BUG | definition in the Cambridge English Dictionary
bug noun (INSECT) ... an insect: Some tiny white bugs had eaten the leaves of my house plants. ... A bug is also...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found