pip and setuptools are now specifically updated before building the project
This commit is contained in:
		
							parent
							
								
									a2395682fe
								
							
						
					
					
						commit
						39cdc1c54c
					
				|  | @ -5,6 +5,8 @@ python: | ||||||
|   - "3.7" |   - "3.7" | ||||||
|   - "3.8" |   - "3.8" | ||||||
| install: | install: | ||||||
|  |   - pip install --upgrade pip | ||||||
|  |   - pip install --upgrade setuptools | ||||||
|   - pip install -r requirements.txt |   - pip install -r requirements.txt | ||||||
| script: | script: | ||||||
|   - coverage run -m unittest discover |   - coverage run -m unittest discover | ||||||
|  |  | ||||||
|  | @ -13,6 +13,7 @@ from ._errors import ( | ||||||
|     CookiesInvalid |     CookiesInvalid | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
| class YouTubeTranscriptApi(object): | class YouTubeTranscriptApi(object): | ||||||
|     @classmethod |     @classmethod | ||||||
|     def list_transcripts(cls, video_id, proxies=None, cookies=None): |     def list_transcripts(cls, video_id, proxies=None, cookies=None): | ||||||
|  |  | ||||||
|  | @ -170,7 +170,7 @@ class TranscriptList(object): | ||||||
|         """ |         """ | ||||||
|         Finds a transcript for a given language code. Manually created transcripts are returned first and only if none |         Finds a transcript for a given language code. Manually created transcripts are returned first and only if none | ||||||
|         are found, generated transcripts are used. If you only want generated transcripts use |         are found, generated transcripts are used. If you only want generated transcripts use | ||||||
|         find_manually_created_transcript instead. |         `find_manually_created_transcript` instead. | ||||||
| 
 | 
 | ||||||
|         :param language_codes: A list of language codes in a descending priority. For example, if this is set to |         :param language_codes: A list of language codes in a descending priority. For example, if this is set to | ||||||
|         ['de', 'en'] it will first try to fetch the german transcript (de) and then fetch the english transcript (en) if |         ['de', 'en'] it will first try to fetch the german transcript (de) and then fetch the english transcript (en) if | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue