Comments (4)
I am also facing the same issue. Receive 410 error. Below is the response text
-
<errors
xmlns='http://schemas.google.com/g/2005'><error><domain>GData</domain><code>NoLo
ngerAvailableException</code><internalReason>No longer
available</internalReason></error></errors>
URL:
http://gdata.youtube.com/feeds/api/users/username/uploads?orderby=published&max-
results=50
Original comment by [email protected]
on 26 Jun 2015 at 6:11
from google-gdata.
Version used Google.Gdata.youtube 2.2.0.0
Original comment by [email protected]
on 26 Jun 2015 at 6:21
from google-gdata.
does anyone have a resolution for this?
Original comment by [email protected]
on 30 Jul 2015 at 11:40
from google-gdata.
It's my first time with the gdata
package and I'm facing a similar issue. Is it a recent thing or there is something wrong with my code?
import sys
from gdata.youtube import service
USERNAME = sys.argv[1] # '[email protected]'
PASSWORD = sys.argv[2] # 'a_very_long_password'
VIDEO_ID = sys.argv[3] # 'wf_IIbT8HGk'
def comments_generator(client, video_id):
comment_feed = client.GetYouTubeVideoCommentFeed(video_id=video_id)
while comment_feed is not None:
for comment in comment_feed.entry:
yield comment
next_link = comment_feed.GetNextLink()
if next_link is None:
comment_feed = None
else:
comment_feed = client.GetYouTubeVideoCommentFeed(next_link.href)
client = service.YouTubeService()
client.ClientLogin(USERNAME, PASSWORD)
with open("comments_tymbark.tsv", "wb") as output:
for comment in comments_generator(client, VIDEO_ID):
author_name = comment.author[0].name.text
text = comment.content.text
comment_id = comment.id
updated = comment.updated
print("{0}\t{1}\t{2}\t{3}\n".format(author_name, text, comment_id, updated))
output.write("{0}\t{1}\t{2}\t{3}\n".format(author_name, text, comment_id, updated))
Traceback (most recent call last):
File "dataset.py", line 24, in <module>
for comment in comments_generator(client, VIDEO_ID):
File "dataset.py", line 9, in comments_generator
comment_feed = client.GetYouTubeVideoCommentFeed(video_id=video_id)
File "C:\Python27\lib\site-packages\gdata\youtube\service.py", line 270, in Ge
tYouTubeVideoCommentFeed
uri, converter=gdata.youtube.YouTubeVideoCommentFeedFromString)
File "C:\Python27\lib\site-packages\gdata\service.py", line 1108, in Get
'reason': server_response.reason, 'body': result_body}
gdata.service.RequestError: {'status': 410, 'body': 'No longer available', 'reas
on': 'Gone'}
from google-gdata.
Related Issues (20)
- Patch for /trunk/clients/cs/samples/PhotoBrowser/NewAlbumDialog.cs
- Unable to connect to remote server
- UIDAI
- [deleted issue]
- Unable to compile the solution when using Google Gdata
- Visual Basic HOT 2
- GOAuth2Request doesn't handling expired token correctly
- Turndown for YouTube Data API v2 HOT 3
- tags probably aren't escaped properly
- Execution of authentication request returned unexpected result: 404 HOT 50
- Importing gmail contacs using Oauth2
- System.Net.WebException: The remote server returned an error: (410) Gone. the code is (from video in videoFeed.Entries select new YouTubeVideoObject() {VideoId = video.VideoId, Title = video.Title}).ToArray();
- GDA 3.+ ListEntry.Delete() random behavior in .NET (C#)
- Google.data.client not suport HOT 1
- System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 216.58.220.4:443 HOT 3
- Getting error that the file ServiceAccountCredential.cs is not found while accessing Google Analytics data
- GDataRequestException - HOT 3
- GDataRequestException - Error Code 1301 (EntityDoesNotExist) HOT 3
- Security Policy violation Binary Artifacts HOT 95
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-gdata.